How do I make this code work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How do I make this code work?

I was experimenting with this code to print "hello world" without any semicolon and it gives me an error which has something to do with three dots (...) What does this error mean and how can it be removed? https://code.sololearn.com/cWRNyid3FeI7/?ref=app

15th Feb 2019, 3:01 PM
Infinity
Infinity - avatar
1 Answer
+ 2
You can pass arguments to main() only from the command line https://publications.gbdirect.co.uk/c_book/chapter10/arguments_to_main.html
15th Feb 2019, 3:10 PM
Paolo De Nictolis
Paolo De Nictolis - avatar