13. | Which of the following correctly shows the hierarchy of arithmetic operations in C? |
|||||||
|
14. | In which order do the following gets evaluated 1. Relational
2. Arithmetic
3. Logical
4. Assignment
|
|||||||
|
15. | Which of the following is the correct order of evaluation for the below expression? z = x + y * z / 4 % 2 - 1
|
|||||||
|
16. | What is the value of the following expression? (13 / 4 * 3) % 5 + 1
|
|||||||
|
17. | What are the values of p and q after the following statement has been executed? for (p = q = 0; p < 3; p++) q += p;
|
|||||||
|
18. | What will be the output of following code ? #include
int main( )
{
int x=10,y=20;
if(x = = y)
printf("%d%d",x,y);
return 0;
}
|
|||||||
|
« previous
1
2
3
4
5
6
7
8
9
next »