Answer Posted / karthi
the friend function access basic class variables by using
dot operators.
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What is encapsulation c#?
What is purpose of inheritance?
What is the purpose of enum?
Is html an oop?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Where You Can Use Interface in your Project
Can a varargs method be overloaded?
What is cohesion in oop?
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
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Why do we use oops?
What is the difference between inheritance and polymorphism?
What is difference between class and object with example?
What is abstract class in oop?
What does and I oop mean?