+ 2
Why warnings? how resolve them?
i can't figure out why its giving warnings and how to reolve. please tell me what these warnings saying and how to resolve??? https://code.sololearn.com/c7a11a23a229
4 Antworten
+ 5
https://stackoverflow.com/questions/24285112/why-must-initializer-list-order-match-member-declaration-order
have a look at this
+ 4
the warning shows that your int initializes before that string..
here's a fix https://code.sololearn.com/cy9XhdHHXm9C/?ref=app
+ 1
Prashanth Kumar [back again]
Thanks bro...
But still it's not clear to me🥺
0
Prashanth Kumar [back again] thanks .....
Please tell me why order for initialization matters?