HOME | LAB PROGRAMMING | RATIONAL ROSE DIAGRAM | COMPUTE GRAPHICS | CLASS DIAGRAM | NETWORK PROGRAMING | BEST OF THE SITE

Integer to character through asic value in c/c++

main()
{
int z=97;
printf(“%c”,z);
}

Tutorial answer:
a
Debugging solution:
Variable z is assing in integer but in the printf statement it will act as char because printf it has %c so it will display a,(97 asic value is a)

0 comments: