C C++ JAVA
Showing posts with label
Call by Value in C
.
Show all posts
Showing posts with label
Call by Value in C
.
Show all posts
Monday, 23 February 2015
Call by Value in C
#include<stdio.h>
#include<conio.h>
main()
{
int a=10,b=20;
clrscr();
swap(a,b);
}
swap(int a,int b)
{
int t;
t=a;
a=b;
b=t;
printf("\n A Value is
:%d",a);
printf("\n B Value is
:%d",b);
}
Older Posts
Home
Subscribe to:
Posts (Atom)