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 |
Explain what you mean by a pointer.
If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];
Write about the retrieval of n number of objects during the process of delete[]p?
What will happen if a pointer is deleted twice?
How did c++ get its name?
What is virtual destructors? Why they are used?
What are the differences between malloc() and calloc()?
Explain the static storage classes in c++.
Why preincrement operator is faster than postincrement?
Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)
What is functions syntax in c++?
Difference between overloading vs. Overriding