The value of an automatic variable that is declared but not initialized will be

  • 0 replies
  • 1934 views
*

Offline mechanic

  • *****
  • 3098
    • View Profile
    • Engineering Forum
Question: The value of an automatic variable that is declared but not initialized will be

Options are:

A. 0
B. -1
C. unpredictable
D. none of above

Correct answer is:

C. unpredictable