Tuesday, 1 May 2012

Program Of Call By Value Using C

#include<stdio.h>
#include<conio.h>


main()

{

int x,y,z;

clrscr();

printf("Enter First NUmber=");

scanf("%d",&x);

printf("Enter Second NUmber=");

scanf("%d",&y);

z=sum(x,y);

printf("\n Answer=%d",z);

getch();

}


{

int c;

c=a+b;

return c;
}

No comments:

Post a Comment