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 is the output of this C code?
#include <stdio.h>
void main()
{
1 < 2 ? return 1: return 2;
}
2) The operator && in 'C' language is a (n):
3) The precedence of arithmetic operators is (from highest to lowest)
4) What is the output of this C code?
#include <stdio.h>
void main()
{
char a = 'a';
int x = (a % 10)++;
printf("%d\n", x);
}
5) What is the output of this C code?
#include <stdio.h>
int main()
{
int i = -5;
i = i / 3;
printf("%d
", i);
return 0;
}