Write a corrected statement in c++ so that the statement
will work properly. x + y=z;
Answers were Sorted based on User's Feedback
What is c++ namespace?
What is a stack c++?
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.
What do you mean by translation unit?
What is Destructor in C++?
What is the use of endl in c++?
What is the full form of c++?
Explain Memory Allocation in C/C++ ?
How do you know that your class needs a virtual destructor?
Can class objects be passed as function arguments?
What is the difference between c++ and turbo c++?
Is there a new/delete equivalent of realloc?