Basics of C++

C++ is an extension of C language. One of the new features added is: Structure Union Operator overloading Function Which of the following statements is FALSE? In a C++ program, the execution begins at main() function. Every C++ program must have a main() function. Every C++ statement must end with a semicolon. C++ does not permit the use of printf() for displaying an output. Line commands are inserted into a C++ program using Left and right curly brackets like {…} Double forward slashes like //….. Stars and slashes like /*..…*/…

Read More

Principle of OOP

Which of the following languages is not a pure Object-Oriented language? a) Java b) Simula c) Ada d) Eiffel Which of the languages is a pure object-oriented language? a) C++ b) Smalltalk c) Object Pascal d) Objective C Which of the following statements is TRUE with respect to object-oriented programming? a) Emphasis is on algorithms rather than data. b) Data can move freely from function to function. c) Programs are divided into small programs called functions. d) Data and functions that operate on them are tied together. Which of the…

Read More