Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Friday 2 July 2021

Interview Hack#35

What will be output when you will execute the following c code? 

  1. 2.000000
  2. 4.000000
  3. 8.000000
  4. Compilation error
  5. None of these

Correct answer 4) Compilation error

Explanation:

The size of an array in c cannot be a constant variable.

0 comments:

Post a Comment