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
Can static variables be declared in a header file?
Can the “if” function be used in comparing strings?
Explain the difference between malloc() and calloc() function?
What is pass by reference in functions?
what do you mean by enumeration constant?
Explain spaghetti programming?
What is the role of this pointer?
What are the parts of c program?
What is string function in c?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is #include conio h?
Write a C program to count the number of email on text
What are the 4 data types?
Why is %d used in c?
List the difference between a While & Do While loops?