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 / ajay prajapat

1. Structure is value type where is class is refrance
type.So class data is store in heap where as stuct data are
store in stack.

2. default type of function in struct is public where as
private in class

Is This Answer Correct ?    55 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between linking and loading?

1155


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4748


an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational

1377


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1131


Explain how can a program be made to print the line number where an error occurs?

1282


Disadvantages of C language.

1156


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

8116


What are the various types of control structures in programming?

1104


What is structure in c language?

1237


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

2057


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

1314


What is adt in c programming?

1225


difference between Low, Middle, High Level languages in c ?

2139


write a c program to find the sum of five entered numbers using an array named number

2203


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2824