Puzzle SL6


Will the following code compile?

#include <stdio.h>
int main( void )
{
  int a = 1;
  int b = 2;

  if ( a == b )
  {
    int c = 3;
  }
  else
  {
    c = 5;
  }
  
  return 0;
}


Previous Page        Answer         Next Page         Home