+ 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

11th Jun 2021, 6:55 AM
IITIAN ROOKIE
IITIAN ROOKIE - avatar
4 Answers
+ 4
the warning shows that your int initializes before that string.. here's a fix https://code.sololearn.com/cy9XhdHHXm9C/?ref=app
11th Jun 2021, 7:10 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 1
Prashanth Kumar [back again] Thanks bro... But still it's not clear to me🥺
11th Jun 2021, 12:10 PM
IITIAN ROOKIE
IITIAN ROOKIE - avatar
0
Prashanth Kumar [back again] thanks ..... Please tell me why order for initialization matters?
11th Jun 2021, 7:28 AM
IITIAN ROOKIE
IITIAN ROOKIE - avatar