Which of the following is not logical operator?

Home | Discussion Forum
Taiyari24Hour

Which of the following is not logical operator?



View More Related Question

2) What is the output of this C code?

 #include <stdio.h>
void main()
{
int y = 3;
int x = 5 % 2 * 3 / 2;
printf("Value of x is %d", x);
}

3) Consider the following statements:

 int a=2, b=3, c=4;
a=(b++) +c;
b=a+(++c);
What are the values of a, b and c, respectively?

4) Consider the following program fragment:

  main()
{
int a,b,c;
b=2;
a=2*(b++);
c=2*(++b);
}
Which one of the given answers in correct?

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))

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.