#include <stdio.h>
int main(int argc, const char* argv[])
{
int x;
loopstart:
printf("enter a value : ");
scanf("%d", &x);
getchar();
printf("value is %d\n", x);
return 0;
}
can u help me, I want x return integer number (ASCII code) when enter a character...
my code is not working...
thanks...