what are the differences between this kind of initializing in c++;
int a = 0;
int a{};
int ();
why this code int a{3.14} get me error but this one int a = 3.14 or this one int a(3.14) do not
what are the differences between this kind of initializing in c++;
int a = 0;
int a{};
int ();
why this code int a{3.14} get me error but this one int a = 3.14 or this one int a(3.14) do not