What is the Difference between "C structure" and "C++
structure"?

Answer Posted / jayesh pawar

1)In "C++" Structure we can specify the data and functions as public,private or protected but in "C" Structure we can't.

2)In "C" Structure Variable initialization must contains the keyword struct but in C++ not required.

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which software is best for c++ programming?

805


What jobs can you get with a c++ certification?

822


How can I improve my c++ skills?

846


Explain how functions are classified in C++ ?

1019


Is swift faster than go?

912


What are the effects after calling the delete this operator ?

828


Is map sorted c++?

764


what is pre-processor in C++?

846


What is endl c++?

882


Can I uninstall microsoft c++ redistributable?

818


What are separators in c++?

850


What is object in c++ example?

870


Name the debugging methods that are used to solve problems?

794


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

775


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

883