PHP MCQ - English
Determine output:
void main()
{
int i=10;
Home | Discussion Forum
{
int i=10;
Determine output:
void main()
{
int i=10;
i = !i>14;
printf("i=%d", i);
}
10
14
0
1
Answer : C
View More Related Question
1) Determine output:
void main()
{
int c = - -2;
printf("c=%d", c);
}
2) What will be the output?
void main()
{
int a=10, b=20;
char x=1, y=0;
if(a,b,x,y)
{
printf("EXAM");
}
}
3) Which operator has the lowest priority?
4) Which of the following operator takes only integer operands?
5) What number will z in the sample code given below?
int z, x=5, y= -10, a=4, b=2;
z = x++ - --y*b/a;