Difference between pointer to constant vs. Pointer constant


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Define copy constructor.

0 Answers  


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.

1 Answers  


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

0 Answers  


Is it legal in c++ to overload operator++ so that it decrements a value in your class?

0 Answers  


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

0 Answers  






Define vptr.

0 Answers  


Explain data encapsulation?

0 Answers  


Is it possible for a member function to delete the pointer, named this?

0 Answers  


Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?

1 Answers  


How do I exit turbo c++?

0 Answers  


What are the advantages and disadvantages of using inline and const?

2 Answers   Polaris, TCS, Zimmer Biomet,


What are inline functions?

2 Answers   Fidelity, Verizon,


Categories