Hi, I'm using Dev-C++ and according to the book I'm reading the following code should display:
ch1 = H and ch2 = A
The problem is that the program doesn't accept the `A´ part, it is Dev-C++ or am i doing something wrong, it's probably something simple but I'm new at this...Code:#include <stdio.h> main() { int ch1, ch2 = `A´; ch1 = ch2+7; printf("\nch1 = %c and ch2= %c\n", ch1, ch2); fflush(stdin); getchar(); }
Thanks!