Я увидел следующий пример cppreference.com
int x; // OK: the value of x is indeterminate
int y = x; // undefined behavior
Здесь int y = x; - это undefined поведение, потому что x не инициализируется.
Но,
unsigned char c; // OK: the value of c is indeterminate
unsigned char d = c; // OK: the value of d is indeterminate
Здесь unsigned char d = c; является неопределенным поведением, но unsigned char c; также является неинициализированной переменной.
Итак, Почему значение unsigned char d неопределенно?