Question:

Given the code below, the variable y can be accessed in which blocks of code?

1  int main(int argc, char** argv)
2  {
3
4   if ( argc > 10 )
5   {
6
7   }
8   else if (int y = argc - 1 )
9   {
10
11  }
12  else
13  {
14
15  }
16
17  return 0;
18  }

Answers:


Keywords:

© 2017 QuizBucket.org