Logo 
Search:

c programming Interview FAQs

Submit Interview FAQ
No Records Found!!!
Go Ahead and Post your Interview FAQ
Home » Interview FAQs » c programmingRSS Feeds
C++ Programming
Comments: 0

Identify which function prototype exhibits the following: Name of the function is sample_cal

Options

a) sample_calc(double, double);
b) void sample_calc(double, double);
c) double sample_calc(void);
d) void sample_calc(double, double)

Answer : b) void sample_calc(double, double);
Posted By:Abigail Campbell      Posted On: Feb 25

C++ Programming
Comments: 0

Which is not associated with Object-oriented programming?

Options


a) Data abstraction
b) Automatic initialization
c) Dynamic binding
d) None


Answer : d) None
Posted By:Julia Hughes      Posted On: Feb 25

C++ Programming
Comments: 0

C++ does not support

i. Genericity
ii. Early binding
iii. Garbage collection
iv. Multiple Inheritance


Options


a) i only
b) ii only
c) iii only
d) ii, iii and iv


Answer : a) i only
Posted By:Alicia Hughes      Posted On: Feb 25

C++ Programming
Comments: 0

What is the output of the following code?

int n=10;
while (n<10)
cout<< “Number:”<
Options

a) 10
b) 11
c) No output
d) None of the above

Answer : c) No output

Posted By:Imogen Brown      Posted On: Feb 24

C++ Programming
Comments: 0

Which of the following is true while passing objects as function arguments? It is possible

Options

a) to pass copy of the entire object to the function
b) to pass only the address of the object to the function
c) to pass the objects to a non-member function
d) All of the above

Answer : d) All of the above
Posted By:Volker Fischer      Posted On: Feb 24

C++ Programming
Comments: 0

Which operator does represent concatenation assignment?

Options

a) &=
b) +
c) +=
d) =

Answer : c) +=
Posted By:William Evans      Posted On: Feb 24

C++ Programming
Comments: 0

Identify which function prototype exhibits the following: Name of the function is sample_cal

Options

a) sample_calc(double, double);
b) void sample_calc(double, double);
c) double sample_calc(void);
d) void sample_calc(double, double)

Answer : b) void sample_calc(double, double);
Posted By:Abigail Campbell      Posted On: Feb 25

C++ Programming
Comments: 0

Which is not associated with Object-oriented programming?

Options


a) Data abstraction
b) Automatic initialization
c) Dynamic binding
d) None


Answer : d) None
Posted By:Julia Hughes      Posted On: Feb 25

C++ Programming
Comments: 0

C++ does not support

i. Genericity
ii. Early binding
iii. Garbage collection
iv. Multiple Inheritance


Options


a) i only
b) ii only
c) iii only
d) ii, iii and iv


Answer : a) i only
Posted By:Alicia Hughes      Posted On: Feb 25

C++ Programming
Comments: 0

What is the output of the following code?

int n=10;
while (n<10)
cout<< “Number:”<
Options

a) 10
b) 11
c) No output
d) None of the above

Answer : c) No output

Posted By:Imogen Brown      Posted On: Feb 24

C++ Programming
Comments: 0

Which of the following is true while passing objects as function arguments? It is possible

Options

a) to pass copy of the entire object to the function
b) to pass only the address of the object to the function
c) to pass the objects to a non-member function
d) All of the above

Answer : d) All of the above
Posted By:Volker Fischer      Posted On: Feb 24

C++ Programming
Comments: 0

Which operator does represent concatenation assignment?

Options

a) &=
b) +
c) +=
d) =

Answer : c) +=
Posted By:William Evans      Posted On: Feb 24

  78  79  80  81  82  83  84  85  86  87  88