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...


Difference between Class and Struct.

Answers were Sorted based on User's Feedback



Difference between Class and Struct. ..

Answer / ravish

Structure is a value type variable, but a class is a
reference type variable.
We can create an object of a class but not for a structure.
Structures does not have function definition but a class has..

Is This Answer Correct ?    6 Yes 7 No

Difference between Class and Struct. ..

Answer / farhat khan

In C struct does not use function(method).

Is This Answer Correct ?    6 Yes 10 No

Difference between Class and Struct. ..

Answer / naksh @tcs

The major difference between struct and class is :
Struct donot contain functions(methods) as its members.

Yes, by default members of struct are public and that of a
class are private.

Is This Answer Correct ?    33 Yes 79 No

Post New Answer

More C Interview Questions

What is malloc and calloc?

0 Answers  


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

0 Answers  


provide an example of the Group by clause, when would you use this clause

0 Answers  


how to convert binary to decimal and decimal to binary in C lanaguage

7 Answers   BPO, Far East Promotions, IBM, RBS,


Suggesting that there can be 62 seconds in a minute?

0 Answers  


write a c programme for add of two numbers with out use of arthematic operators

2 Answers  


Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.

2 Answers  


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

0 Answers   Aspiring Minds,


Who is invented by c?

24 Answers   Infosys, Mphasis,


What should malloc(0) do?

0 Answers  


Explain what are multibyte characters?

0 Answers  


Why can't we initialise member variable of a strucutre

1 Answers  


Categories