91.
The C statement ""if (a == 1 || b == 2) {}"" can be re-written as . . . . . . . .

93.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int x = 0;
    if (x++)
        printf("true\n");
    else if (x == 1)
        printf("false\n");
}

94.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int a = 1;
    if (a)
        printf("All is Well ");
        printf("I am Well\n");
    else
        printf("I am not a River\n");
}

96.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    printf("before continue ");
    continue;
    printf("after continue\n");
}

98.
What will be the output of the following C code?
#include <stdio.h>
switch (ch)
{
   case 'a':
   case 'A':
      printf("true");
}

99.
How many times while loop condition is tested in the following C code snippets, if i is initialized to 0 in both the cases?
while (i < n)
         i++;
    ————-
    do
         i++;
    while (i <= n);

100.
What will be the output of the following C code?
#include <stdio.h>
#define max(a) a
int main()
{
    int x = 1;
    switch (x)
    {
       case max(2):
          printf("yes\n");
       case max(1):
          printf("no\n");
          break;
    }
}

Read More Section(Control Structures)

Each Section contains maximum 100 MCQs question on Control Structures. To get more questions visit other sections.