Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

Given the piece of code

	int a[50];
	int *pa;
	pa=a;         	
	

To access the 6th element of the array which of the following is incorrect?

A *(a+5)
B a[5]
C pa[5]
D *(*pa+5)
Answer & Explanation
Option: [D]
Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Computer Science Topics