Top

Discussion

#include 
int i;
int main()
{
    if (i);
    else
        printf("Ëlse");
    return 0;
}

What is correct about the above program?

  • A.if block is executed
  • B.else block is executed
  • C.It is unpredictable as i is not initialized
  • D.Error: misplaced else

Answer: B

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment