search
Q: What will be the output of the following code segment? निम्नलिखित कोड खण्ड का आउटपुट क्या होगा? int a[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, *p = a; print ("n\%d", p [7], p [a[7]]) ;
  • A. 7 : 7
  • B. 7 : 8
  • C. 8 : 9
  • D. 8 : 8
Correct Answer: Option C -
answer image

Explanations:

explanation image