If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
No Answer is Posted For this Question
Be the First to Post Answer
how to find no of instances of an object in .NET?
Why is object oriented programming so hard?
DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.
Please send ford technologies placement paper 2 my mail id
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
what is the need of abstraction? what is abstraction?what is the abstraction for stack?
What is difference between #define and const?
WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??
21 Answers Biocon, MIT, NIIT,
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 are the ways in which a constructors can be called?
oops concept is used for?
How do you answer polymorphism?