Hi Friends,
I wrote a program in c to print a table for ant in teger as shown below

/**----------------------------------------**/
int a,b,c;
printf("Enter the value of a\n");
scanf("%d",&a);

for(b=1; b<= 20; b++)
{
c=a*b;
printf("%d X %d = %d\n",a, b,c );
}
/**-----------------------------------------**/

This program is working fine,when i give input as a number.

However,

[COLOR=DarkRed]in case,the given input is a charecter,[/COLOR]
Then it is showing some different output.