How to handle exception in c++,
For example in a functions i am assigning memory to some
variables and also in next instructions in am dividing one
variable also.
If this functions generates a error while allocating memory
to those variable and also while dividing the variable if i
divide by zero then catch block how it will identify that
this error has cone from perticular instruction
No Answer is Posted For this Question
Be the First to Post Answer
I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?
What is for loop and its syntax?
What is the real time example of inheritance?
What is the full form of oops?
What is DeadlyDiamondDeathProblem ?
What is polymorphism and why is it important?
can inline function declare in private part of class?
What does oop mean in snapchat?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Can you name some types of inheritance?