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 ?    115 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a function that will take in a phone number and output all possible alphabetical combinations

796


What are structures and unions? State differencves between them.

833


What is the use of typedef in structure in c?

695


Not all reserved words are written in lowercase. TRUE or FALSE?

961


How can you find out how much memory is available?

785






Describe the steps to insert data into a singly linked list.

808


How can I discover how many arguments a function was actually called with?

816


What is a lvalue

842


How can I split up a string into whitespace-separated fields?

781


Disadvantages of C language.

824


What is pre-emptive data structure and explain it with example?

3450


Calculate 1*2*3*____*n using recursive function??

1722


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

2334


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

2064


Tell us something about keyword 'auto'.

827