What value does a const variable take when it's initialized by a non-const and non-initialized variable? – Ubuntu
#include <stdio.h> int main() { int a; const int b = a; printf("%d %dn", a, b); return 0; } The same code I tried to execute on onlinegdb.com compiler and on Ubuntu WSL. In onlinegdb.com, I got both a and…