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

Answer Posted / balaji

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 ?    34 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you overload the operator+ for short integers?

803


What are the methods of exporting a function from a dll?

858


How is modularity introduced in C++?

946


What is the best c++ book for beginners?

825


What are c++ data types?

884


Mention the storage classes in c++.

835


Where Malloc(), Calloc(), and realloc() does get memory?

824


Should I learn c or c++ first?

858


What is a character in c++?

770


What is a breakpoint?

779


What is scope operator in c++?

819


What is the use of class in c++?

784


What is auto type c++?

860


What are the characteristics of friend functions?

770


What is low level language in simple words?

802