Followers

Friday, August 6, 2010

BASICS OF C++





BASICS OF C++



Question #1: Which of the following is evaluated first




Question #2: The header file required for setw() is




Question #3: Switch case is an example of ____ type of statement




Question #4: A function can return only a single value




Question #5: int a[5]={0,1,2,3,4}; what will be the value of a[0]




Question #6: What C++ function clears the screen




Question #7: Is C++ case sensitive




Question #8: _____ symbol is used for giving single line comments




Question #9: Division by 0 is an example of ______ error




Question #10: Name the exit control loop




Question #11: Size of unsigned integer is ____ bytes




Question #12: ____ is a preprocessor directive in C++




Question #13: Which of the following denote incorrect datatype in C++




Question #14: A ternary operator requires two operands




Question #15: A variable available to all functions of a program is called





No comments: