What is the use of endl in c++ give an example?
No Answer is Posted For this Question
Be the First to Post Answer
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
Is there structure in c++?
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 friend class in c++ with example?
Which programming language is best?
What is recursion?
Explain the use of this pointer?
write the programme that convert a interger to biniry number
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";
What is the difference between cin.read() and cin.getline()?
What is purpose of abstract class?
List down the guideline that should be followed while using friend function.