Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / shakti singh khinchi

In C, structures never support constructors and destructors
whereas C++ supports both of them.

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know what are pure virtual functions?

1143


What is an adjust field format flag?

1110


What is an orthogonal base class in c++?

1158


What are multiple inheritances (virtual inheritance)?

1055


Eplain extern keyword?

1026


find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.

2540


Are strings immutable in c++?

1156


Can a function take variable length arguments, if yes, how?

1008


What is function overriding in c++?

1065


Can static member variables be private?

1173


What is time_t c++?

1127


What is c++ array?

1116


Why do we need pointers?

1001


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

1019


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

2631