Multiple choice general knowledge

Guess the Output void main() { int Add() { return 50; } printf("%d",Add()); }

  1. Compilation Error - Cannot define Function inside Function

  2. 50

  3. Cant say

  4. Some Random Number

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In standard C programming, nesting function definitions inside another function (such as defining Add inside main) is not permitted and results in a compilation error.