every function has return the value?
Answer / gulam_khan7
no every function can,t return the value.if we use as void
addnum(int,int) then it will be not return value.if we use
the int addnum(int,int) is also return the value as
according to there data type.
function has three type call by value,call by refrence.and
recursive function.these all are different.
| Is This Answer Correct ? | 7 Yes | 0 No |
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
what is the significance of static storage class specifier?
f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed
write a function which accept two numbers from main() and interchange them using pointers?
How can I read a directory in a C program?
2 Answers Bright Outdoor, Wipro,
How do I get an accurate error status return from system on ms-dos?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is the difference between printf and scanf )?
Are global variables static in c?
Under what circumstances does a name clash occur?
related proverb of "dont count your chicken before it hatches"
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples