IndiaBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning Non Verbal Reasoning
General Knowledge
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming C++ Programming C# Programming Java Programming
Microbiology Biochemistry Biotechnology Biochemical Engineering
Civil Engineering Mechanical Engineering Chemical Engineering Networking Database Questions Computer Science Basic Electronics Digital Electronics Electronic Devices Circuit Simulation Electrical Enigneering Engineering Mechanics Technical Drawing
Placement Papers Group Disucssion HR Interview Technical Interview Body Language
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test Data Interpretation Test General Knowledge Test
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt C Interview Questions The C Language Basics .NET Interview Questions .NET Framework ADO.NET ASP.NET Software Testing

Computer Science - Object Oriented Programming Using C++


Exercise

"Time and tide wait for none."
- Alexander Pope
21. 

Which of the following control structures is used in every program?

A. repetitionB. selection
C. sequenceD. switching

22. 

In the C language, a string is assigned to the

A. char type of variable
B. string type of variable
C. conversion specification %s
D. All of the above

23. 

Which of the following statements declares a one-dimensional Character array named item that consists of five elements?

A. char item[0 to 4] = "";
B. char item[0 to 5] = "";
C. char item[4] = "";
D. char item[5] = "";
E. string item[5] = ' ';

24. 

A derived class may also be called a

A. subclass
B. super class
C. parent class
D. derived class

25. 

The main() function is always

A. a called function
B. a calling function
C. recursive function
D. used at the end of the program
E. None of the above



© 2008-2013 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy

Contact us: info@indiabix.com     Follow us on twitter!