/*PROGRAM TO PRINT TABLE OF A NUMBER USING FUNCTIONS*/
#include<stdio.h>
#include<conio.h>
void table(int);
void main()
{
int n;
clrscr();
printf(“Enter any number: “);
scanf(“%d”,&n);
table(n);
getch();
}
void table(int n)
{
int i;
printf(“Table of %d is:\n”);
for(i=1;i<=10;i++)
{
printf(“%d * %d = %d\n”,n,i,n*i);
}
}