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
What is the difference between union and structure in c?
What is hashing in c language?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Explain the use of fflush() function?
c language interview questions & answer
What does a pointer variable always consist of?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Differentiate between a structure and a union.
What are linker error?
What are types of preprocessor in c?
Hi can anyone tell what is a start up code?
How can I implement a delay, or time a users response, with sub-second resolution?
What is the difference between ‘g’ and “g” in C?
Why do we use stdio h and conio h?
What is structure pointer in c?