C program to find square using User Defined Function

#include<stdio.h>
int square(int a)
{
int square;
square=(a*a);
return square;
}
void main()
{
int x;
x=square(x)
Printf("square= %d",x);
getch();
clrscr();
}

Comments

Popular posts from this blog

Visti Cloud Service (VCS)

Being a DARK SKINNED is not a PROBLEM