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 |
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
what is mallloc()?how it works?
what is object oriental programing?
main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}
What are the characteristics of arrays in c?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What does it mean when the linker says that _end is undefined?
Why ca not I do something like this?
Apart from dennis ritchie who the other person who contributed in design of c language.
What is the size of enum in bytes?
write a program in 'c' to find the value of p[i+1]^n.p,i,n are arguments of a macro and n is a integer
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?