Create c++_code_fixes #1584
Create c++_code_fixes #1584
Conversation
In this file I have written a c++ code to find the reverse of a string without using functions.
Made minor changes in the documentation also changed the return type of main from int to void
changed the return type of main function from void to int
Sir I thought if the code is not further used for any other purpose then void is best to use.If the piece of code has to be used in any other programs in future then int is best.I have again changed it to int.Do check it.
@Bhagyanekraje Please do check the relevant checkbox, and please do refer to the contribution guidelines before commiting. For any question you can ask here or do message your doubts on Gitter Thanks. |
@Bhagyanekraje Please do check the relevant checkbox, and please do refer to the contribution guidelines before commiting. For any question you can ask here or do message your doubts on Gitter Thanks.
ok sir
Hey there! Thank you for submitting a PR!
This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Searching an element in a linked list.Both iterative and recursive.
Create linear_search.cpp
In this file I have written a c++ code to find the reverse of a string without using functions.
Description of Change
Checklist
Notes:
The text was updated successfully, but these errors were encountered: