The blog is use for self study/ learning purpose. Good Luck !! Jay Hind !! PSPD !!!
// No return value, with argument
#include<stdio.h>
#include<conio.h>
void sq(int);
void main()
{
int no;
clrscr();
printf("\nEnter value: ");
scanf("%d", &no);
sq(no);
getch();
}
void sq(int x)
printf("\n\nSquare of %d is %d", x, x*x);
No comments:
Post a Comment