+ 10

Please Help me in a C Language code

How it's answer is 1Yes. https://code.sololearn.com/cYkGib5W29VJ/?ref=app

3rd Jun 2019, 10:31 AM
Pankaj Kumar Maurya
Pankaj Kumar Maurya - avatar
6 odpowiedzi
+ 4
Everything under label will be executed even without goto... Remove entire if line and output will be same... Basically goto doesn't execute but code under label does
3rd Jun 2019, 10:51 AM
Elva
Elva - avatar
+ 10
Anna Ok I remember it next time I am really Sorry.😔
3rd Jun 2019, 1:40 PM
Pankaj Kumar Maurya
Pankaj Kumar Maurya - avatar
+ 9
Elva dρlυѕρlυѕ Sonic Thank You So mach all of you Dear Programmer
3rd Jun 2019, 1:42 PM
Pankaj Kumar Maurya
Pankaj Kumar Maurya - avatar
+ 6
Yes, the if statement is only in lines 5 and 6.
3rd Jun 2019, 11:24 AM
Sonic
Sonic - avatar
+ 5
Remember that only the first line under if statement ( and under loops, else statement... etc) is actually executed as part of the statement - if you don't have brackets. If you put brackets, you'll get another result. 😉
3rd Jun 2019, 11:20 AM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 5
If you have a question regarding C, please don't use Python, C++, Java etc. as tags.
3rd Jun 2019, 11:45 AM
Anna
Anna - avatar