diff between pointer and reference in c++?
Answer / ravi.g
pointers have valid memory but reference does not have
memory
It means pointers points to some address(memory)
Reference does not points to any address(memory)
| Is This Answer Correct ? | 2 Yes | 0 No |
What is a far pointer? where we use it?
What are manipulators in c++ with example?
give me some class & objects examples?
class HasStatic { static int I; }; Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration? a) HasStatic I = 10; b) int static I = 10; c) static I(10); d) static I = 10; e) int HasStatic::I = 10;
What is virtual constructor paradigm?
What are c++ tokens?
Explain the difference between 'operator new' and the 'new' operator?
What are containers in c++?
What is the advantage of c++ over c?
What are shallow and deep copies?
what are Operators and explain with an example?
Does c++ have foreach?