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 #define?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Write a program for Overriding.
How can I read and write comma-delimited text?
Explain the difference between malloc() and calloc() function?
Is multithreading possible in c?
What is a rvalue?
Explain function?
What is array in C
formula to convert 2500mmh2o into m3/hr
Differentiate between new and malloc(), delete and free() ?
Why doesnt long int work?
What is function in c with example?
What is chain pointer in c?
What are external variables in c?