difference between function & structure

Answer Posted / shruti

functions can return values.
structures cannot return values.

we can pass arguments to the function
we cannot pass any argument to the structure.

Is This Answer Correct ?    113 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why flag is used in c?

651


What happens if header file is included twice?

650


code for find determinent of amatrix

1512


How can I do serial ("comm") port I/O?

683


Explain what is the difference between null and nul?

650






What is #include stdio h?

679


What is dynamic memory allocation?

804


Is null always defined as 0(zero)?

611


code for quick sort?

1618


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

571


What are the different types of linkage exist in c?

611


What is array of structure in c?

594


Write a program to check armstrong number in c?

633


What is c method?

532


Is fortran still used today?

598