#include <stdio.h>
#include <ctype.h>
int main(void)
{
char c = '+';
int example = isalpha(c);
printf("%i\n", example);
}
It should return 0 but it gives me random numbers. I really don't understand. I tried it with 'x'
, 'X'
, ')'
to see what would be the result but they give random number either. I'm not sure how does this work if it's gonna give me random numbers either way. And yes this is up to date version of the program. I can't understand, is my Ram is broke or my processor...
The results are:
-442407368
1873312952
1811287784
-841852568
...