Is there a difference between int x{}; and int x = 0;?

Viewed 19181

I understood that int x{}; is a kind of default-initialization, but is it exactly the same as writing int x = 0; ?

4 Answers
Related