What is difference between class and structure in c++?


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

Post New Answer

More C++ General Interview Questions

When should I use unitbuf flag?

0 Answers  


What do you mean by funtion prototype?

0 Answers  


What does h mean in maths?

0 Answers  


Who created c++?

0 Answers  


Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].

0 Answers  






When copy constructor can be used?

4 Answers   Symphony,


class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.

5 Answers   Quark,


What is the benefit of encapsulation?

0 Answers  


What do you mean by abstraction in C++?

1 Answers  


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

0 Answers  


What is c++ good for?

0 Answers  


What is c++ library?

0 Answers  


Categories