New course! Every coder should learn Generative AI!
Try a free lesson+ 2
In C Program If We Type A Code In PC It Will Correct Without A Error But In Solo Learn App It Indicates Qn Error Why ❓
https://code.sololearn.com/cf1Pi1gHQDMR/?ref=app https://code.sololearn.com/cf1Pi1gHQDMR/?ref=app
8 Answers
+ 7
You must be running an older compiler which does not enforce the current standards.
int main(void) is the current definition for main
conio.h is a non standard header which is not supported by the Sololearn compiler as such the functions included within it are also not supported
+ 4
Can you provide a sample please?
+ 4
Yeah I forgot to comment out clrscr. It is a function from conio.h
+ 2
C above link!!
+ 2
But the modified program displays some errors
+ 2
Oh thanks 🙏 for ur help dude 😎
+ 1
Is this correct or not!??