Wednesday, August 28, 2013

Call by Value

//Call by Value

#include<stdio.h>
int cube(int x)
{
  x=x*x*x;
  return(x);
}
int main()
{
 int n=8;
 printf("Cube of %d is %d\n",n,cube(n));
return 0;
}


1 comment:

  1. This Website is Easy to Learn and usefull and my concept is clear after learn this website.

    ReplyDelete