Computer Science, asked by karmatiwana215, 6 months ago

?The default data type of function is...........?
Void
Int
Float
Char​

Answers

Answered by topwriters
3

The default data type of 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.

Option 2 is the answer.

Similar questions