GATE CSE C Programming Practice Test – Array & Pointer | Set 1

Questions 71-75 of 100

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

Question 71

MSQ · Multiple Correct 2 mark

Which of the following statements regarding pointers and arrays in C are CORRECT?

Answers for question 71

Question 72

MSQ · Multiple Correct 2 mark

Which of the following operations cause undefined behavior in C pointer arithmetic?

Answers for question 72

Question 73

MSQ · Multiple Correct 2 mark

Which of the following dynamic memory allocation functions are declared in <stdlib.h>?

Answers for question 73

Question 74

MSQ · Multiple Correct 2 mark

In C, given array 'int arr[5] = {10, 20, 30, 40, 40};' and pointer 'int *p = arr;', which expressions evaluate to the value 40?

Answers for question 74

Question 75

MSQ · Multiple Correct 2 mark

In C, given array 'int arr[5] = {10, 20, 30, 40, 50};' and pointer 'int *p = arr;', which expressions evaluate to the value 50?

Answers for question 75
Scroll to Top