#include static int input_test(void); int main() { char c1 = 'A'; char c2 = 'B'; char c3 = 'C'; //puts(&c1); //char s[] = {'A', 'B', 'C', 0}; char *s = "hello world"; printf("hello: %-20s asfqwef\n", s); printf("%#d = %#x = %#o\n", 100, 100, 100); long long val = 0x1234567890adcdef; printf("%#lx\n", val); input_test(); return 0; } // ввод символов static int input_test(void) { char c1, c2; //c = getchar(); //printf("code: %#X: ", c); scanf("%c%*c", &c1); printf("code1: %d\n", c1); scanf("%c", &c2); printf("code2: %d\n", c2); return 0; }