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

Questions 66-70 of 100

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

Question 66

MCQ · Single Correct 1 mark

What happens if 'free(ptr)' is called twice on the same dynamically allocated pointer without reinitialization?

Answers for question 66

Question 67

MCQ · Single Correct 1 mark

In C, how are multi-dimensional arrays stored in memory?

Answers for question 67

Question 68

MCQ · Single Correct 1 mark

What is the value of 'a[1][1]' for 'int a[2][2] = {{1, 2}, {3, 4}};'?

Answers for question 68

Question 69

MCQ · Single Correct 1 mark

What is the result of '1 << 3' in decimal?

Answers for question 69

Question 70

MCQ · Single Correct 1 mark

What will be the output of 'printf("%d", 7 ^ 7);'?

Answers for question 70
Scroll to Top