Operators and Expressions MCQs

85 questionsC-ProgramPage 7 of 10

Practice free Operators and Expressions multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 85 questions — no login required.

Question 55easy
Which among the following statement is right?
Question 56easy
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    float a = 2.455555555555;
    printf("%f", a);
}
Question 57easy
Which of the following % operation is invalid?
Advertisement
Question 58easy
In the following C code, the union size is decided by?
union temp
{
    char a;
    int b;
    float c;
};
Question 59easy
Modulus for float could be achieved by?
Question 60easy
Which among the following has the highest precedence?
Advertisement
Question 61easy
%f access specifier is used for . . . . . . . .
Question 62easy
What will be the output of the following C code?
#include <stdio.h>
printf("%d", sizeof('a'));
Question 63easy
Loss in precision occurs for typecasting from. . . . . . . .