Web-Technologies
November 6, 2023
Data-Interpretation
November 6, 2023
Web-Technologies
November 6, 2023
Data-Interpretation
November 6, 2023

Question 11520 – Programming

Consider the following ‘C’ language declaration in a[4] = {1,2,3,4}; What would be the output of the following

Printf(“%d”, *(a+2)+1); 

Correct Answer: D

Question 377 Explanation: 
*(a+2)+1 = a[2]+1 = 3+1 = 4
A
2
B
3
C
4
D
None of the above
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!