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

Questions 31-35 of 100

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

Question 31

MCQ · Single Correct 1 mark

Consider 'int arr[5] = {10, 20, 30, 40, 50};'. What is the value of '*(arr + 3)'?

Answers for question 31

Question 32

MCQ · Single Correct 1 mark

If 'arr' is a 1D array of integers, which of the following is equivalent to 'arr[i]'?

Answers for question 32

Question 33

MCQ · Single Correct 1 mark

Given 'int arr[3][4];', assuming base address is 2000 and int is 4 bytes, what is the address of 'arr[2][1]' in row-major order?

Answers for question 33

Question 34

MCQ · Single Correct 1 mark

What is the type of variable 'p' declared as 'int (*p)[5];'?

Answers for question 34

Question 35

MCQ · Single Correct 1 mark

What is the type of variable 'p' declared as 'int *p[5];'?

Answers for question 35
Scroll to Top