C Language MCQ - English
Which of the following is not logical operator?
Home | Discussion ForumWhich of the following is not logical operator?
Answer : A
View More Related Question
1) What will be the value of count after the following program is executed? main()
{
int count, digit=0;
count=1;
while(digit<=9)
{
printf("%d\n",++count);
++digit;
}
}
2) What is the value of x in this C code?
#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}
3) What is the output of this C code?
#include <stdio.h>
void main()
{
int a = 3;
int b = ++a + a++ + --a;
printf("Value of b is %d", b);
}
4) What is the output of this C code?
#include <stdio.h>
int main()
{
int i = 5;
i = i / 3;
printf("%d\n", i);
return 0;
}
5) If the following variables are set to the values as shown below, then what will be the value of the following expression? answer=2;
marks=10;
!((answer<5)&&(marks>2))