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
why wipro wase
What are pointers? Why are they used?
Which driver is a pure java driver
What is meant by operator precedence?
What is line in c preprocessor?
When can you use a pointer with a function?
What is #line used for?
How do you redirect a standard stream?
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.
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
Whats s or c mean?
How important is structure in life?
What should malloc() do?
Explain what is the difference between functions abs() and fabs()?
What is the use of the function in c?