+ 3

Can i write c language in sololearn ?

can i write c language in sololearn ? if yes then ,, tell me how

21st Sep 2017, 9:22 AM
Ranjan Kumar
Ranjan Kumar - avatar
4 Respostas
+ 20
Both C and assembly are allowed to compile and run in SL compiler. #include <cstdio> int main(void) { int age = 30; int exp = 2; printf("I'm %d years old and have %d years programming experience!", age, exp); } Or assembly https://code.sololearn.com/c6TMOWzn7kC4
21st Sep 2017, 9:39 AM
Babak
Babak - avatar
+ 19
Absolutely my friend. Good luck.
21st Sep 2017, 9:50 AM
Babak
Babak - avatar
+ 10
@Babak Sheykhan is correct. C++ is backwards compatible with C.
21st Sep 2017, 9:44 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
so can i write c in c++
21st Sep 2017, 9:49 AM
Ranjan Kumar
Ranjan Kumar - avatar