Question 149Asked in CIL MT Systems, 26 Mar 2017 (12:30 PM)

Which of the following statements is INCORRECT with respect to pointers declared in the following 'C' language code?

Which of the following statements is INCORRECT with respect to pointers declared in the following 'C' language code? void main(){ int a[10], *p, *q; p=&a[5]; q=&a[7]; }
  1. Aq-p
  2. BP+1
  3. Cq-3
  4. DP+q
Show answerHide answer

Correct answer: (D) P+q

From CIL MT Systems PYQ, 26 Mar 2017 (12:30 PM)

This is question 149 of CIL MT Systems PYQ, 26 Mar 2017 (12:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.