I am trying to execute the below program.
#?include? "stdio.h"
#include "string.h"
void main()
{
char c='8';
printf("%d",c);
}
I'm getting the output as 56
. But for any numbers other than 8
, the output is the number itself , but for 8
the answer is 56
.
Can somebody explain ?
See Question&Answers more detail:os