GATE CSE C Programming Practice Test – Data Types & Operators | Set 1

Questions 61-65 of 100

Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 61

MCQ · Single Correct 1 mark

What will be printed by 'printf("%d", 10 == 10);'?

Answers for question 61

Question 62

MCQ · Single Correct 1 mark

What is the value of 'x' after loop termination: 'for (x = 0; x < 10; x += 3);'?

Answers for question 62

Question 63

MCQ · Single Correct 1 mark

What is printed by this code?

C
#include <stdio.h>
int main(void) {
    int x = 5;
    if (x = 0)
        printf("True");
    else
        printf("False");
    return 0;
}
Answers for question 63

Question 64

MCQ · Single Correct 1 mark

What is the output of 'printf("%d", !5);' in C?

Answers for question 64

Question 65

MCQ · Single Correct 1 mark

What is the return type of the 'sizeof' operator in C?

Answers for question 65
Scroll to Top