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 ❓ | Sololearn: Learn to code for FREE!
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

22nd May 2019, 3:53 AM
Mathan R
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
22nd May 2019, 3:59 AM
jay
jay - avatar
+ 4
Can you provide a sample please?
22nd May 2019, 3:54 AM
jay
jay - avatar
+ 4
Yeah I forgot to comment out clrscr. It is a function from conio.h
22nd May 2019, 4:03 AM
jay
jay - avatar
+ 2
C above link!!
22nd May 2019, 3:55 AM
Mathan R
+ 2
But the modified program displays some errors
22nd May 2019, 4:02 AM
Mathan R
+ 2
Oh thanks 🙏 for ur help dude 😎
22nd May 2019, 4:04 AM
Mathan R
+ 1
Is this correct or not!??
22nd May 2019, 4:00 AM
Mathan R