In C which of the following statements about generic pointer is true
1It cannot be deferenced
2The sizeof() operator cannot be used to find the size of a dangling pointer
3It can hold only integer pointer
4It can be held by any type of pointers without implementing the typecasting process
*1and 4
*2and 4
*3and 4
*2and 3
Answers
Answer:
wgnvqykyydyddkgxhxfhjyyrkryoyeye
Answer:
Sanfoundry
Menu
C++ Programming Questions and Answers – Pointers
« PrevNext »
This section on C++ aptitude questions and answers focuses on “Pointers”. One shall practice these aptitude questions to improve their C++ programming skills needed for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams, aptitude tests and other competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher, engineering graduate or an experienced IT professional. Our C++ questions come with the detailed explanation of the answers which helps in better understanding of C++ concepts.
Here is a listing of C++ aptitude questions on “Pointers” along with answers, explanations and/or solutions: