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 / shikhar
yes, the answer is a. In C, the function may or may not
return any value. In new languages like vb, dotnet....these
kind of functions are called "subroutines".
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between malloc() and calloc() in c?
What is wild pointer in c?
Explain what is output redirection?
difference between native and cross compilers
How will you write a code for accessing the length of an array without assigning it to another variable?
How can I swap two values without using a temporary?
What does typeof return in c?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
What is zero based addressing?
What are the different types of constants?
Why is struct padding needed?
code for find determinent of amatrix
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
Why malloc is faster than calloc?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions