What if // prints "hello world", I changed to // hello world | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

What if // prints "hello world", I changed to // hello world

20th Aug 2019, 6:19 AM
Mamax
Mamax - avatar
3 ответов
+ 2
All comments are ignored. You can literally write anything and the compiler / interpreter doesnt care at all
20th Aug 2019, 6:21 AM
Trigger
Trigger - avatar
+ 2
It affects nothing. What comments do is to help us understand the code easily. Compiler will ignore comments, it does nothing.
20th Aug 2019, 6:22 AM
你知道規則,我也是
你知道規則,我也是 - avatar
0
Thakns
20th Aug 2019, 10:14 AM
Mamax
Mamax - avatar