PHP MCQ - English
Which of the following comments about the ++ operator are correct?
Home | Discussion ForumWhich of the following comments about the ++ operator are correct?
It is a unary operator
The operand can come before or after the operator
It cannot be applied to an expression
All of the above
Answer : D
View More Related Question
1) Determine output:
void main()
{
int i=10;
i = !i>14;
printf("i=%d", i);
}
2) Which operator has the lowest priority?
3) Which of the following operator takes only integer operands?
4) 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;
5) What will be the output?
void main()
{
int a=10, b=20;
char x=1, y=0;
if(a,b,x,y)
{
printf("EXAM");
}
}