C Fundamentals - Study Mode
[#126] What will be the output of the following C code? #include <stdio.h>
void main()
{
double b = 3 && 5 & 4 % 3
printf("%lf", b)
}
Correct Answer
(D) 1.000000
[#127] Operation "a = a * b + a" can also be written as . . . . . . . .
Correct Answer
(D) All of the mentioned
[#128] Which of the following is an invalid assignment operator?
Correct Answer
(D) None of the mentioned
[#129] What will be the output of the following C code? #include <stdio.h>
void main()
{
int x = 0, y = 2, z = 3
int a = x & y | z
printf("%d", a)
}
Correct Answer
(A) 3
[#130] We want to create an alias name for an identifier of the type unsigned long. The alias name is: ul. The correct way to do this using the keyword typedef is . . . . . . . .
Correct Answer
(A) typedef unsigned long ul