write a c++ code to overload + and - for a stack class such
that + provides push and - provides pop operation
Answer / anmol
just leave this question this is the best option i also
done the same thing and got selected
Is This Answer Correct ? | 18 Yes | 15 No |
What do you mean by inheritance?
WAP find square root of any number (without using sqrt() )?
What is the oops and benefits of oops programming?
i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<<k; } //please comment on the output
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
what is runtime polymorphism? For the 5 marks.
What is the renewal class?
What is object in oop?
How can we use the preprocessor #if and #elseif.
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
is there any choice in opting subjects like 4 out of 7
What is polymorphism and example?