Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
No Answer is Posted For this Question
Be the First to Post Answer
What is an operator in c++?
How delete [] is different from delete?
What is protected inheritance?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
Do the parentheses after the type name make a difference with new?
When should you use multiple inheritance?
What does it mean to declare a member function as virtual?
Is there any problem with the following: char *a=NULL; char& p = *a;?
State the difference between pre and post increment/decrement operations.
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
Do vectors start at 0?
What do nonglobal variables default to a) auto b) register c) static