Is there any problem with the following:
char *a=NULL; char& p = *a;?
Answer / neelam saini
The result is undefined. You should never do this. A reference must always refer to some object.
| Is This Answer Correct ? | 0 Yes | 0 No |
State the difference between delete and delete[].
What is a block in c++?
Explain the scope resolution operator?
What are the manipulators in c++?
Can we specify variable field width in a scanf() format string? If possible how?
What do you mean by stack unwinding in c++?
Explain what you mean by a pointer.
What is a forward referencing and when should it be used?
If all is successful, what should main return a) 0 b) 1 c) void
what are the iterator and generic algorithms.
When does a 'this' pointer get created?
What do you mean by inheritance in c++? Explain its types.