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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #line in c?

1014


What is pragma in c?

1215


How macro execution is faster than function ?

1194


application attempts to perform an operation?

1978


Explain what are bus errors, memory faults, and core dumps?

1277


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1123


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1688


Can you subtract pointers from each other? Why would you?

961


What is mean by data types in c?

1032


Explain what are multidimensional arrays?

1072


Can variables be declared anywhere in c?

1091


When is the “void” keyword used in a function?

1504


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

3111


What are c header files?

992


Can you add pointers together? Why would you?

1128