Why does this code work as expected if I use Visual C(Visual Sudio 2022) but doesn't if I use gcc...
Why does this code work as expected if I use Visual C(Visual Sudio 2022) but doesn't if I use gcc 8.2?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/22156610/oldcrow)OldCrow
(stackoverflow.com/users/298225/eric-postpischil)Eric Postpischil
(stackoverflow.com/users/15261315/chris)Chris
(stackoverflow.com/users/2877241/vlad-from-moscow)Vlad from Moscow
A special thanks goes out to the (https://stackoverflow.com/questions/76596648/why-does-this-code-work-as-expected-if-i-use-visual-cvisual-sudio-2022-but-doe)Stackexchange community
I wish you all a wonderful day! Stay safe :)
c-strings char c longest-substring function