If a function doesn’t return a value, how do you declare the function?
No Answer is Posted For this Question
Be the First to Post Answer
Explain container class.
What are the different data types present in C++?
What is the syntax for a for loop?
What are the implicit member functions of class?
Why we use #include conio h in c++?
Can you please explain the difference between static and dynamic binding of functions?
What is #include cmath?
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.
Why c++ is so important?
Why do we need runtime polymorphism in c++?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
Difference between delete and delete[]?
5 Answers Infosys, TCS, Virtusa,