What is the best way to declare and define global variables?
No Answer is Posted For this Question
Be the First to Post Answer
Explain deep copy?
let a,b,c be three integer numbers.write a c++ program with a function void rotate 1()such that a->b->c and c->a.
Can we define a constructor as virtual in c++?
How do you establish an is-a relationship?
Explain all the C++ concepts using examples.
What are the advantages of using a pointer?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30
What are the difference between reference variables and pointers in C++?
Why namespace is used in c++?
Write a program to find the Factorial of a number
Which bit wise operator is suitable for checking whether a particular bit is on or off?