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 / sunayana
d ans. is a.that it is nt neccsary for any c function to
return any value
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
How many types of errors are there in c language? Explain
Differentiate between ordinary variable and pointer in c.
Write a program that accept anumber in words
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Do you know the purpose of 'register' keyword?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What are different storage class specifiers in c?
How does #define work?
Was 2000 a leap year?
write a program to find the given number is prime or not
What is the difference between call by value and call by reference in c?
How does selection sort work in c?
What is getch?
Can you return null in c?
What are header files and what are its uses in C programming?