Explain the difference between class and struct in c++?


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

Post New Answer

More C++ General Interview Questions

Is it possible for a member function to delete the pointer, named this?

0 Answers  


Define the operators that can be used with a pointer.

0 Answers  


Explain the auto storage classes in c++.

0 Answers  


Write a c program for binary addition of two 8 bit numbers.

0 Answers   TCS,


What is the copy-and-swap idiom?

0 Answers  


what is the use of Namespace in c++.

3 Answers  


What are the differences between a struct and a class in C++?

7 Answers   Amazon, Wipro,


what does the following statement mean? int (*a)[4]

0 Answers  


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

0 Answers  


What is this pointer in c++?

1 Answers  


What happens if a pointer is deleted twice?

0 Answers   Flextronics,


What is while loops?

0 Answers  


Categories