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
How can you check to see whether a symbol is defined?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
Explain heap and queue.
What is the right type to use for boolean values in c?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Which node is more powerful and can handle local information processing or graphics processing?
Can the “if” function be used in comparing strings?
How main function is called in c?
How can you tell whether a program was compiled using c versus c++?
What is the modulus operator?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What is modifier & how many types of modifiers available in c?
Write a program to implement queue.
What is #define size in c?
What are the types of bitwise operator?