Q The value of an automatic variable in C/C++ that is declared but not initialized will be __________.

  • A 0
  • B -1
  • C Unpredictable
  • D None of these

MCQs Details

When a variable is declared under automatic, the variable by default contains garbage value, so we can't predict the value.