//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;
}
#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;
}
This Website is Easy to Learn and usefull and my concept is clear after learn this website.
ReplyDelete