In mathematics and computer programming, which is the correct order of mathemati

Home | Discussion Forum
Taiyari24Hour

In mathematics and computer programming, which is the correct order of mathematical operators ?



View More Related Question

2) Consider the following code fragment:

  int a,c; c=2;
a=(c+ =5)*2
What will be the value of "a" after the above lines are executed?

3) 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;
}

4) 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);
}

5) What is the output of this C code?

#include <stdio.h>
void main()
{
int k = 8;
int x = 0 == 1 && k++;
printf("%d%d\n", x, k);
}

UP Gk Online Test

taiyari24hour.com

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