Single line command in C | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

Single line command in C

As far as I've known, Python has also the ability to perform arithmetic operation in just a single line command. Like >>> print (123 + 12) and would print the sum = 136. My question is, how would it be possible to make this happen by using C? Can anyone give me the implementation code for this please? :)

5th Oct 2017, 12:31 PM
Clark Justine L. Gonzales
Clark Justine L. Gonzales - avatar
1 Réponse
+ 3
printf(123 + 12);
5th Oct 2017, 1:32 PM
Vukan
Vukan - avatar