Is it possible to write a (non-trivial) C program without any C keywords? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Is it possible to write a (non-trivial) C program without any C keywords?

1st Apr 2018, 7:20 AM
Mukul Raj
Mukul Raj - avatar
2 ответов
+ 6
You can use recursion for your looping and ternary for your if's so you could do a few non-trivial programs.
1st Apr 2018, 10:11 AM
John Wells
John Wells - avatar
+ 6
Example factorial program without keywords. Using non-standard main to avoid return keyword. https://code.sololearn.com/c2m80330K6Bc/?ref=app
1st Apr 2018, 10:33 AM
John Wells
John Wells - avatar