i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout<<k;
}
//please comment on the output
No Answer is Posted For this Question
Be the First to Post Answer
c++ is a pure object oriented programming or not?
write a C++ program for booking using constructor and destructor.
ambiguity regulation of multiple inheritance with example.
What is the difference between procedural programming and oops?
Difference ways of Polymorphism?
What are the three parts of a simple empty class?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
what are the ways in which a constructors can be called?
What is encapsulation in simple terms?
Which is the parameter that is added to every non-static member function when it is called?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is inheritance in simple words?