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 function & structure

Answer Posted / s.s gill

function: in function we can have different data types and can perform different operation according to our need. a function once created can be called anytime in given program.

Structure: in structure we can only assign data types to different variables that are to be used in our program. we cannot perform any operation inside a structure.

this is the major difference between function and structure

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why wipro wase

2248


What are pointers? Why are they used?

1112


Which driver is a pure java driver

1531


What is meant by operator precedence?

1095


What is line in c preprocessor?

997


When can you use a pointer with a function?

990


What is #line used for?

989


How do you redirect a standard stream?

1050


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2814


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2614


Whats s or c mean?

949


How important is structure in life?

1028


What should malloc() do?

1100


Explain what is the difference between functions abs() and fabs()?

1098


What is the use of the function in c?

970