What are the difference between reference variables and pointers in C++?
Pointers: A pointer is a variable that holds memory address of another variable. ... References : A reference variable is an alias, that is, another name for an already existing variable. A reference, like a pointer, is also implemented by storing the address of an object.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between static global and global ?
Shall we use 'free' to free memory assigned by new, What are the further consequences??
1.what is the difference between software & package &application.
What is a far pointer? where we use it?
What is abstraction in c++ with example?
is throwing exception from a constructor not a good practice ?
what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
Can a constructor be private?
What is c++ best used for?
#include<iostream.h> void main() { class x { public: int func(int) { cout<<"cool"; return 1; } } }
Write a program which uses Command Line Arguments