See AnswerAns: A function is a group of statements that together perform a task. Every C program has at least one function, which is main(), and all the most trivial programs can define additional functions. ... A function declaration tells the compiler about a function's name, return type, and parameters.
Diff b/w Library functions and user defined functions.
See AnswerAns:
Why we defining our own function?
See AnswerAns:
What is call by value?
See AnswerAns: The call by value method of passing arguments to a function copies the actual value of an argument into the formal parameter of the function. In this case, changes made to the parameter inside the function have no effect on the argument.
What is call by Address?
See AnswerAns: The call by pointer method of passing arguments to a function copies the address of an argument into the formal parameter. Inside the function, the address is used to access the actual argument used in the call. This means that changes made to the parameter affect the passed argument.
What is call by Reference?
See AnswerAns: The call by reference method of passing arguments to a function copies the address of an argument into the formal parameter. Inside the function, the address is used to access the actual argument used in the call. It means the changes made to the parameter affect the passed argument.
Diff b/w call by value and call by address.
See AnswerAns:
How to pass an array as argument?
See AnswerAns:
Diff b/w local and global variables.
See AnswerAns:
When to use void as return type?
See AnswerAns:
What is function Prototype?
See AnswerAns:
What is function Overloading?
See AnswerAns:
What is inline function?
See AnswerAns:
What is default argument?
See AnswerAns:
When to use static variables?
See AnswerAns:
What scope and life time of a variable?
See AnswerAns:
What is Recurssion?
See AnswerAns:
Diff b/w actual and formal arguments.
See AnswerAns:
Diff b/w "return" and "return 1".
See AnswerAns:
Is it possible to return multiple values from a function?