When it is necessary to store return value of a function into a memory type variable in smart contract, the size of memory type variable should be declared before storing data

When it is necessary to store return value of a function into a memory type variable in smart contract, the size of memory type variable should be declared before storing data