What will be the output of the following C code? #include <stdio.h> ...
View QuestionWhich of the following operator has the highest precedence in the following?
a) () b) sizeof c) * d) + Answer: a
View Question
Which function in the following expression will be called first?
a = func3(6) – func2(4, 5) / func1(1, 2, 3);
Which function in the following expression will be called first? a = func3(6) - func2(4, 5) / func1(1, ...
View Question
Which of the following is the correct order of evaluation for the given expression?
a = w % x / y * z;
Which of the following is the correct order of evaluation for the given expression? a = w % ...
View Question
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int a = 1, b = 2, c = 3, d = 4, e;
e = c + d = b * a;
printf(“%d, %d\n”, e, d);
}
What will be the output of the following C code? #include <stdio.h> ...
View Question
While swapping 2 numbers what precautions to be taken care?
b = (b / a);
a = a * b;
b = a / b;
While swapping 2 numbers what precautions to be taken care? b = (b / ...
View Question
Which of the following option is the correct representation of the following C statement?
e = a * b + c / d * f;
Which of the following option is the correct representation of the following C statement? e = a * ...
View Question
Comment on the following statement.
n = 1;
printf(“%d, %dn”, 3*n, n++);
Comment on the following statement. n = 1; printf("%d, %dn", 3*n, n++);
View Question
Which operators of the following have same precedence?
P. “!=”, Q. “+=”, R. “<<=”
Which operators of the following have same precedence? P. "!=", Q. "+=", R. "<<=" a) P and ...
View Question