What is true about the following
C Functions
a.Need not return any value
b.Should always return an integer
c.Should always return a float
d.Should always return more than one value.

Answer Posted / shruti

Need not return any value.

its acceptable if a function does not return any value
provided its return type is "void"..

if its return type is char , int , float.. then it has to
return that respective type of value

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

differentiate built-in functions and user – defined functions.

634


What are the disadvantages of external storage class?

593


Is that possible to add pointers to each other?

907


Which programming language is best for getting job 2020?

611


Why doesnt the call scanf work?

679






Why is c faster?

596


Explain how can I avoid the abort, retry, fail messages?

595


What are qualifiers and modifiers c?

552


How do I get an accurate error status return from system on ms-dos?

653


What is return type in c?

644


How can I do graphics in c?

598


Why clrscr is used after variable declaration?

1045


What the advantages of using Unions?

677


What are the Advantages of using macro

688


Can you please explain the difference between malloc() and calloc() function?

623