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 / santhosh.r

Structs allocates continues memory
where as class does not
structs and functions are the basic idea behind class

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

2350


What is main () in c?

1115


Which is the memory area not included in C program? give the reason

1998


How can a string be converted to a number?

1066


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

1206


What is the difference between array and pointer in c?

1219


Dont ansi function prototypes render lint obsolete?

1194


What is #include cctype?

1174


What is the size of array float a(10)?

1187


How many levels of indirection in pointers can you have in a single declaration?

1141


What is clrscr in c?

1171


What does the c in ctime mean?

1157


What is the use of a ‘’ character?

1140


Explain the difference between ++u and u++?

1187


What does c mean before a date?

1228