Discussion :: C-MCQs
-
What is the output of this C code?
int main()
{
int i = 0;
char c = 'a';
while (i < 2){
i++;
switch (c) {
case 'a':
printf("%c ", c);
break;
break;
}
}
printf("after loop\n");
}
Answer : Option B
Explanation :
none
Be The First To Comment