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

1) Which among the following are the fundamental arithmetic operators, ie, performing the desired operation can be done using that operator only?

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>
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>
void main()
{
int x = 0;
if (x = 0)
printf("Its zero\n");
else
printf("Its not zero\n");
}

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

UP Gk Online Test

taiyari24hour.com

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