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
Question 1. Explain Briefly about class and objects. 2. Create a class string which stores a string value. Overload ++ operator which converts the characters of the string t


Q: Name the operators which cannot be overloaded? A:sizeof, ., .*, .->, ::, ?:

plaese tell the full program for the above given topic with the input and output

In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color. Fill the other elements in the board, suc

Write a Program that illustrate creation of a data file? Here is a program to generate a Fibonacci series and write it into a Data file. # include main() { FILE *fpt;

Find out the largest torque: A flat belt is taken in use to transmit torque from pulley A to pulley B as shown in figure given below. The radius of each pulley is 50mm and co

c program of double linked list with full explanation

write a c++ program for minimum shelf downloads

what is poiter