Govt Exams
The correct syntax is return_type function_name(parameters). Option A follows proper C syntax with int as return type, func as name, and void indicating no parameters.
Function prototypes inform the compiler about function name, return type, and parameters before the actual definition, enabling proper type checking during compilation.
Passing large structures by pointer is more efficient as only address (typically 4-8 bytes) is copied, not entire structure.
C99 allows function declarations within blocks; they have scope limited to that block. This is different from function definitions which remain at file scope.
This is call-by-value. The function swaps copies of x and y, not the originals. Original values remain unchanged.
The syntax (*funcPtr) indicates funcPtr is a pointer. It points to functions taking two ints and returning int.
C doesn't support multiple return values. Both pointers (call-by-reference) and structs are valid techniques.
For mutual recursion, you need forward declaration (prototype) of at least one function before it's called by another.
Without base case, recursion never stops, causing stack to overflow as return addresses keep accumulating.
inline is a hint to compiler to expand function at call site. It's supported in C99+ and compiler decides whether to inline or not.