poonam kochar
8 years ago

What will be the output of the following code

int main(void)
{
int x = 5;
if (1);
else
printf("hello");
return 0;
}

A. hello

B. It will not print anything

C. syntex error

D. 1

Answer: Option B


This Question Belongs to User Ask Question >> Miscellaneous

Join The Discussion

Comments (1)

  1. Poonam Kochar
    Poonam Kochar:
    8 years ago

    A

Related User Ask Questions