How does c++ structure differ from c++ class?


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

Post New Answer

More C++ General Interview Questions

What does return 0 do in c++?

0 Answers  


class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;

4 Answers   Manhattan,


What is the difference between while and do while loop?

0 Answers  


What is the difference between #define debug 0 and #undef debug?

0 Answers  


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

0 Answers  






What are the advantages of C++ programming compared to C programming?

2 Answers   HAL,


Is eclipse good for c++?

0 Answers  


How would perform Pattern Matching in C++?

0 Answers   Genpact,


why the size of an empty class is 1

4 Answers  


How can you tell what shell you are running on unix system?

0 Answers  


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

0 Answers  


Explain the isa and hasa class relationships. How would you implement each?

0 Answers  


Categories