Can I compile C code in C++ compiler here..? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can I compile C code in C++ compiler here..?

The compiler gives error when I try to compile C code.

1st Feb 2018, 3:38 PM
Nikita
Nikita - avatar
2 Answers
+ 1
Thnx Buddy... It ran successfully. Could you tell me what was wrong with my code..?
1st Feb 2018, 4:30 PM
Nikita
Nikita - avatar
0
It was stdio.h My autocorrect corrected it. I removed the conio.h header but it again shows error.
1st Feb 2018, 4:25 PM
Nikita
Nikita - avatar