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

"Forgiveness is a virtue of the brave."
- Indira Gandhi
1. 

Which of the following are valid characters for a numeric literal constant?

A. a decimal point
B. the letter e
C. a minus sign
D. a plus sign
E. All of the above

2. 

Any #include files may contain

A. constants
B. variables
C. functions
D. All of the above

3. 

When a break statement is used in a loop, the control skips the rest of the statements in the loop after it and jumps

A. to the last lines in the program
B. to the next statement written after the body of the loop
C. to the first statement in the body of the loop
D. All. of the above
E. None of the above

4. 

The function that takes arguments to set the bits of count is _____

A. setf()B. bitsef()
C. ios()D. flag()

5. 

When two types are used in a function template and one is labeled T, the other

A. must also be named T
B. must be named U
C. can be any legal C++ identfier
D. it is illegal to have two types




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

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