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
FILE PROGRAMMING
What are pointers really good for, anyway?
What do the functions atoi(), itoa() and gcvt() do?
What is scanf () in c?
code for replace tabs with equivalent number of blanks
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
What is meant by type casting?
Why is void main used?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is the general form of a C program?
How can you find the day of the week given the date?
Explain how do you search data in a data file using random access method?
What is the difference between union and anonymous union?
why wipro wase
Ow can I insert or delete a line (or record) in the middle of a file?