Should you pass exceptions by value or by reference?
No Answer is Posted For this Question
Be the First to Post Answer
Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); a) 10 b) 11 c) 1
Hi i need to Acess a variable "int Intval" in the below mentioned code .How to Access it guys i am waiting for your reply
What are the four partitions in which c++ compiler divides the ram?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
What is the difference between "calloc" and "malloc"?
simple c++ program for "abcde123ba" convert "ab321edcba" with out using string
How can a '::' operator be used as unary operator?
How can we access protected and private members of a class?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
What are the types of STL containers?
How a new operator differs from the operator new?
When is dynamic checking necessary?