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

What is variable in c with example?

1 Answers  


#include<stdio.h> void main() { int a=5,b=6,c; int x=(a<b)+7; int y=(x==7)*9; int z=(c=x+y)*2; printf("%h %h %h",x,y,z); } What is the output? Explain it.

8 Answers   IBM,


What kind of structure is a house?

0 Answers  


What is C++

4 Answers  


Write a code on reverse string and its complexity.

0 Answers   Expedia,






What are the three constants used in c?

0 Answers  


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

0 Answers   IBM,


Write a program in c using only loops to print * * * * * *******

2 Answers   IBM,


What are the 5 data types?

0 Answers  


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

0 Answers   TCS,


Is c still used in 2019?

1 Answers  


What is a macro, and explain how do you use it?

0 Answers  


Categories