What does a derived class inherit from a base class

a) Only the Public members of the base class

b) Only the Protected members of the base class

c) Both the Public and the Protected members of the base class

d) .c file


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is variable in c example?

0 Answers  


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

0 Answers  


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

0 Answers  


what is the size of an integer variable?

4 Answers  


Difference between Class and Struct.

13 Answers   Ericsson, Motorola, Wipro,






What is a loop?

0 Answers  


Can two or more operators such as and be combined in a single line of program code?

0 Answers  


Write a c program to enter a string of paragraph and replacing a particular word which is repeated in the paragraph by another word?

2 Answers   ME, Synfusion, Wipro,


When should structures be passed by values or by references?

0 Answers   Adobe,


What is the difference between NULL and NUL?

0 Answers   Aspire, Infogain,


write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?

4 Answers  


What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }

8 Answers   ADITI, Adobe,


Categories