The default data type of function is
Answers
The default data type of a function is Int
Explanation:
We are required to declared the data type of a variable, so that we can restrict the type of data that it can store. Whenever a variable is defined in C++, the compiler allocates some memory for that variable. This allocation is based on the data-type with which it is declared. Each data type will require a different amount of memory.
The default data type for a C language function is integer. Int is the keyword used for integer data types. Integers typically requires 4 bytes of memory space and ranges from -2147483648 to 2147483647.
Explanation :
The default return data type of function is int.In other words commonly if it is not explicitly mentioned the default return data type of a function by the compiler will be of an data type.
It the user does not mention a return data type or parameters type ,then C programming language will inevitably make it an int.
I hope my answer help u ☺