Ask Question, Ask an Expert


Ask C/C++ Expert

Home >> C/C++

problem 1: Array is collection of:

A) Declared data
B) Un declared data
C) Homogeneous data
D) Heterogeneous data
problem 2: class used to derive other class are:

A) Base class
B) Derived class
C) Abstract class
D) Inherit class
problem 3: The class used to over ride the security provided by the class:

A) ios()
B) friend()
C) istream()
D) ostream()
problem 4: The first graphic library function to be executed is

A) detectgraph()
B) initgraph()
C) window ()
D) None of these
problem 5: Every call to a function is checked by the compiler against the:

A) Parameter list
B) Variable description
C) Function prototype
D) Program prototype
problem 6: How many instances of a class can be declared?

A) None
B) One
C) Ten
D) As many as require
problem 7: A syntax error is signaled by the:

A) Compiler
B) Linker
C) Eidtor
D) Run time system.
problem 8: The type of a function/procedure/module is determined by:

A) Its arguments
B) The value returned
C) Its name
D) None of the above
problem 9: Out of the following choose the correct statement.

A) String constant can be split
B) # include are written in multiple line
C) / / is used to indicate white spaces
D) Escape sequences are deoted by\operator
problem 10: Values can be input to variables in the program using the stream:

A) cin
B) cout
C) in
D) out       

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M93986

Have any Question? 

Related Questions in C/C++

Please use codeblockslist the program and the output on the

Please use codeblocks List the program and the output on the command line Eg #include #include using namespace std; int main() { floatjohno = 0.5; size_t size = 24; vector array(size); for(inti=0; i     { johno = johno + ...

Only one programwrite a c program to find fibonacci numbers

Only one program Write a C++ Program to Find Fibonacci Numbers using Dynamic Programming.

A write an array implementation of self-adjusting lists in

a. Write an array implementation of self-adjusting lists. In a self-adjusting list, all insertions are performed at the front. A self-adjusting list adds a find operation, and when an element is accessed by a find, it is ...

Text exercise 413 gas mileagebulldrivers are concerned with

Text Exercise 4.13 (Gas Mileage) • Drivers are concerned with the mileage obtained by their automobiles. One driver has kept track of several trips by recording miles driven and gallons used for each trip. Develop a C++ ...


Write a C++ program that will use loops to perform each of the following tasks: 1. Ask the user for two characters from the keyboard and read them into char variables. Determine which input is larger and which is smaller ...

Discussion questonsplease respond to all of the following

Discussion Questons Please respond to all of the following prompts: • How are input and output accomplished in C++? • How do cin and cout relate to ostream and istream? Lab Activity 1. Write a C++ program per the require ...

1 requirementsin this assignment you can unleash your

1. REQUIREMENTS In this assignment, you can unleash your imaginations and use OpenGL with C/C++ programming to produce a scene(s) that represents what you envision could possibly be seen under the sea. Please note that a ...

Problem 1overview for problem 1a of this assignment you

Problem #1 Overview: For problem 1(a) of this assignment, you will need a C++ compiler. In order to receive credit, your program must compile and run; and you must provide the actual source code file so that I can compil ...

Descriptionnbspin this assignment you will write a c

Description:  In this assignment you will write a C++ program that finds the kth largest number among a set of N numbers. It will implement the solution using two different algorithms and measure the time elapsed during ...

Here are two examplesifcounter7continueifcounter7break1

Here are two examples: if(counter==7) continue; if(counter==7) break; 1. Write a for loop that counts only the odd numbers out of the first five numbers entered from the keyboard, but does not count (skips) the number 7. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate