[ERROR SOLVED] C PROGRAM | Sololearn: Learn to code for FREE!



1.https://code.sololearn.com/cbkI08XOydpS/?ref=app showing error in line 29. 2.[REASON]Why we use fgets instead of gets in sololearn. when i write gets its showing me an error. 3.[REASON] void main()/main() not works in sololearn.int main() works. 4.[REASON] if i include <conio.h> it showing me output that compilation terminated. 5.[SUGGESTION] Which is easy to understand and write program.[FLOWCHART,ALGORITHM,PSEUDO CODE]. Edit :- my real intention was to solving error of the code,that solved.which solve by pallavi jha...

10/19/2020 11:01:07 AM

𝕾𝖍𝖆𝖗𝖒𝖆 亗

17 Answers

New Answer


My code error is solved,Thank you so much 😄 PÃŁŁÃVÎ JHÁ Thank you Coder Kitten vamsi😎 ++༒«ᵛ ⁱ ⁿ ᵃ ʸ ᵃ ᵏ»༒++ @💕PARI💕


Thank you so much Sonic


https://code.sololearn.com/cvirlrYg52Zz/?ref=app I happened to find this. 😐And I do agree with Coder Kitten . Void main can be used, but it just doesn't return anything. Gets, as explained, induces buffer overflow, and is not used for string operations (basically not used at all!!) Donno much about the rest, but thanks man!! Learnt many cool things today!!!


حسوني الغيباوي You have to say something relevant to the thread.


The Algorithm is what is represented by a flowchart or pseudocode.


Ousmane Leye please use the search bar to find pre- answered questions or post your question!!


conio.h is not available on Sololearn.


Apparently strrev() is not part of the C standard and not available to gcc on Linux for example. https://www.sololearn.com/post/688108/?ref=app

+3 no problem. Have a look at Coder Kitten answers.


You should use a printf("6. Exit\n");


How do we use strrev in c


ابغا اتعلم اختراق فدوه