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 is the Difference between Class and Struct?

Answer Posted / sureshreddy

the diff b/w structure and class is class by deafualt
private, where as structure by default public.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between structs and unions in c?

1028


What is structure data type in c?

1025


Can a function argument have default value?

1157


Are the variables argc and argv are always local to main?

1026


Explain how can type-insensitive macros be created?

999


What are keywords c?

1032


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2589


How can I read and write comma-delimited text?

1077


how should functions be apportioned among source files?

1105


Can we declare variable anywhere in c?

979


What are comments and how do you insert it in a C program?

1254


If errno contains a nonzero number, is there an error?

1379


What is a structure and why it is used?

1229


Explain what does it mean when a pointer is used in an if statement?

1068


How can I access an I o board directly?

1093