/*AN IMPLEMENTATION TO SHOW HOW TO WRITE A TABLE..OF ANY NUMBER*/
#include<stdio.h>
int main()
{
int arr[10];//TAKE AN ARRAY OF ELEMENTS UPTO U WANT TO WRITE THE TABLE
int num,i;
num=5;//SUPPOSE I WANT TO WRITE THE TABLE OF 5
for(i=1;i<=10;i++)//LOOP FOR 1 TO 10 MOVES..//
{
arr[i]=num*i;//NUM=5 ...i is ++menting continously..from 1 2 3 4 5 6 7 8 9 10 ...will be multiplied by 5 ..turn by turn ..& write its value in array..in continues memory of array..//
printf("%d*%d=%d\n",num,i,arr[i]);//num=5 i=1 to 10 & arr[1 to 10] has table u want to write ...so it will write table like this...//