every function has return the value?



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

Post New Answer

More C Interview Questions

10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning

5 Answers   Accenture,


Why cant I open a file by its explicit path?

0 Answers  


what is the use of bitfields & where do we use them?

2 Answers  


What is the importance of c in your views?

0 Answers  


which one low Priority in c? a)=,b)++,c)==,d)+

10 Answers  


Write a program in c to replace any vowel in a string with z?

0 Answers   IBS,


What are the types of macro formats?

0 Answers  


what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??

5 Answers  


What is the Lvalue and Rvalue?

2 Answers  


totally how much header files r in c language

8 Answers   TCS,


What is the difference between the local variable and global variable in c?

0 Answers  


how to go with this?

1 Answers   Wipro,


Categories