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.
Answers were Sorted based on User's Feedback
how to add our own function in c library please give details.?
Why do we use pointer to pointer in c?
what about "char *(*(*a[])())();"
Are comments included during the compilation stage and placed in the EXE file as well?
Function calling procedures? and their differences? Why should one go for Call by Reference?
main() { int l=6; switch(l) { default:l=l+2; case 4:l=4; case 5:l++; break; } printf("%d",l); }
How to receive strings with spaces in scanf()
Tell me what are bitwise shift operators?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is an example of enumeration?
Can a program have two main functions?
6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1