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

When should volatile modifier be used?

967


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1828


What is the difference between exit() and _exit() function?

1001


What is use of integral promotions in c?

1088


Why calloc is better than malloc?

983


What are loops c?

1008


What does %d do?

1215


What is the advantage of using #define to declare a constant?

1044


Why do we use c for the speed of light?

1112


Explain what are multidimensional arrays?

1013


Can you define which header file to include at compile time?

988


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

1438


Explain the difference between null pointer and void pointer.

1040


What does %p mean?

1040


Explain how does flowchart help in writing a program?

1068