What are the differences among a struct in c & in c++?, C/C++ Programming

A: In C++ a struct is alike to a class except for the default access specifier( refer to other question in the document). In C we ought to include the struct keyword while declaring struct. In c++ we don't need to.

 

Posted Date: 3/20/2013 3:39:07 AM | Location : United States







Related Discussions:- What are the differences among a struct in c & in c++?, Assignment Help, Ask Question on What are the differences among a struct in c & in c++?, Get Answer, Expert's Help, What are the differences among a struct in c & in c++? Discussions

Write discussion on What are the differences among a struct in c & in c++?
Your posts are moderated
Related Questions
A r r a y s w i t h i n a c l a s s: I t i s j u s t d ecl a r i n g o r c on s t ru c ti n g a d e r i v e d t


what is binary heap ? what is the c code for the implementation for the binary heap


Pointer to function: int mul(int a, int b, int c) {   return a*b*c; } void main() {   int (*function_pointer)(int, int, int);   function_pointer = &mul;

limitation of linear array

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

what is a variable

I''m trying to write a function that prints the substring if it is found in the string, and after it prints it deletes it from the string so i could print the next substring if it