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 / babitha_b

Functions:
a)used to separate the task which would run frequently
b)run seperately the frequent task whenever calling that
frequent task and then returned its value to the fucntion
who called this.
c)would decrease the complexity of code and helps to debug
easier.
d)also it can be used as a library fucntion.

Structure:
declaring different types of variables and functions under
single name.

Is This Answer Correct ?    14 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I right-justify a string?

1041


What are formal parameters?

1112


What is the difference between array and structure in c?

1157


How do you use a 'Local Block'?

1166


Can we use any name in place of argv and argc as command line arguments?

1065


What is pointers in c with example?

1068


Are there constructors in c?

1005


Can a pointer be static?

1071


What is the sizeof () a pointer?

985


What is the heap?

1216


c program for searching a student details among 10 student details

2091


write a program to concatenation the string using switch case?

2096


In C programming, what command or code can be used to determine if a number of odd or even?

1053


What is the explanation for prototype function in c?

976


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

1068