C Programming and Technical

Q. What is difference between declaration and definition?

A. During declaration we just specify the type and no memory is allocated to the variable. But during the definition an initial value is assigned and memory is allocated to the variable.

Read Solution (Total 0)

C Other Question

Q. What is prototype of printf function?

A. Prototype of printf function is:
int printf( const char *format ,…)
Q. What is function recursion?

A. When a function of body calls the same function then it is called as 'recursive function.'

Example:
Recursion()
{
printf("Recursion !");
Recursion();
}