Object Oriented Programming - Pointers

1. The declaration
int x ;
int &p=x ;

is same as the declaration
int x,*p ;
p=&x ;

This remark is

  • Option : B
  • Explanation : In the first declaration, p is aliased to x. In the second case, p is a separate variable and it will have an address that is different from that of x.
Cancel reply
Cancel reply

  • Pointers Questions can be used to give quizzes by any candidate who is preparing for UGC NET Computer Science
  • This Pointers Questions section will help you test your analytical skills in a tricky method, thereby giving you an edge over other students
  • Any student who wants to prepare for DOEACC A Level, DOEACC B Level, and DOEACC C level can also use these Objective Type Questions Answer.
  • All candidates who have to appear for the Kendriya Vidyalaya Entrance exam can also refer to this mcq section.
  • You can also get access to the Pointers In C MCQ ebook.
  • Pointers Questions can be used in the preparation of JRF, CSIR, and various other exams.
  • You can also download pdf for these Pointers multiple-choice questions Answers.
  • This Pointers Multiple Choice Questions Answers section can also be used for the preparation of various competitive exams like UGC NET, GATE, PSU, IES, and many more.
  • Pointers Questions can be used to gain a credit score in various undergraduate and postgraduate courses like BSc, MSc and MCA
  • Pointers Questions for UGC NET Computer Science

    Pointers MCQ

    Pointers Multiple choice questions