C - Control Statements

page 1 out of 3

page 1 out of 3


Question 1     

In the following loop construct, which one is executed only once always. for(exp1; exp2; exp3)






Question 2     

goto can be used to jump from main to within a function?






Question 3     

Which keyword can be used for coming out of recursion?






Question 4     

Switch statement accepts.






Question 5     

A labeled statement consists of an identifier followed by






Question 6     

do-while loop terminates when conditional expression returns?








Question 9     

What is the output of this program?

void main()
{
    if(!printf(""))
        printf("hello");
    else
        printf("world");
}





Question 10     

What is correct about the given program?

#include <stdio.h>
int x;
void main()
{
    if (x);
    else
        printf("Else");
}




page 1 out of 3

page 1 out of 3


Sign Up Page

Oops!!

To view the solution need to Login



Score : 0 / 0
L
o
a
d
i
n
g
.
.
.