C Language MCQ - English
In mathematics and computer programming, which is the correct order of mathemati
Home | Discussion ForumIn mathematics and computer programming, which is the correct order of mathematical operators ?
Answer : B
View More Related Question
1) What is the output of this C code?
#include <stdio.h>
void main()
{
int x = 5.3 % 2;
printf("Value of x is %d", x);
}
2) What is the output of this C code?
#include <stdio.h>
int main()
{
int a = 10, b = 5, c = 5;
int d;
d = a == (b + c);
printf("%d", d);
}
3) 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))
4) The operator && in 'C' language is a (n):
5) What should be the value of i and k at the end of the following program segments? int i,j,k;
{
j=5;
i=2*j/2;
k=2*(j/2);
}