Define upcasting.


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

Post New Answer

More C++ General Interview Questions

What language is a dll written in?

0 Answers  


What is difference between initialization and assignment?

12 Answers   HCL, HP, Infosys,


If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?

0 Answers  


write infinite loop in C++ which does not use any variable or constant?

3 Answers  


What is private inheritance?

0 Answers  






Name the debugging methods that are used to solve problems?

0 Answers  


Q1 On the screen how do you write the following words? she sells seashells by the seashore (a) all in one line (b) in three lines Q2 Write a program that asks interactively the user’s name and age and responds with Hello name, next year you will be next_age. where next_age is age + 1 Q3 For the different values of n, what is the output? printf(“%x %c %o %d”,n,n,n,n); (a) n = 67 (b) n = 20 (c) n = 128 (d) n = 255 (e) n = 100 Q4 What will be the output of the following program? int main() { char a,b,c; scanf(“%c %c %c”,&a,&b,&c); printf(“a=%c b=%c c=%c”,a,b,c); return 0; } [Note: The user input is:ABC DEF GHI]

1 Answers  


what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??

4 Answers  


Where do I find the current c or c++ standard documents?

0 Answers  


What is a dangling pointer?

3 Answers   Glenwood,


What is rtti in c++?

0 Answers  


What are abstract data types in c++?

0 Answers  


Categories