PHP MCQ - English
Which of the following operator takes only integer operands?
+
*
/
%
Answer : D
View More Related Question
1) Which 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
View Answer
2) Which of the following operator takes only integer operands?
3) What will be the output?
void main()
{
int a=10, b=20;
char x=1, y=0;
if(a,b,x,y)
{
printf("EXAM");
}
}
4) What is the output of the following statements?
int b=15, c=5, d=8, e=8, a;
a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;
printf("%d", a);
5) In C programming language, which of the following type of operators have the highest precedence