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

+31

[ERROR SOLVED] C PROGRAM

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

+7

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

+7

Thank you so much Sonic

+4

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!!!

+4

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

+3

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

+3

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

+3

conio.h is not available on Sololearn.

+3

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

192.168.00.000 no problem. Have a look at Coder Kitten answers.

+2

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

+1

How do we use strrev in c

0

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