Explain how we implement exception handling in c++?
No Answer is Posted For this Question
Be the First to Post Answer
class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.
Difference between strdup and strcpy?
Should I learn c or c++ or c#?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
What is main function in c++ with example?
Can we sort map in c++?
Which one is better- macro or function?
What is data binding in c++?
1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v
Why Pointers are not used in C++?
what is multi-threading in C++?
What is auto used for in c++?