0

What is redefinition int main() in C++

24th Nov 2021, 12:40 PM
Nidhi Agrahari
3 odpowiedzi
+ 3
Can you upload and share the code link for inspection purposes? https://www.sololearn.com/post/75089/?ref=app
24th Nov 2021, 1:18 PM
Ipang
+ 2
Becz you have written main function in your code but in the editor it already defined or may be there written u dont need to write main function that's why its overriding. These things often happening in the test cases question in competitive programming
24th Nov 2021, 12:42 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Please always tag the language you're asking about. https://code.sololearn.com/W3uiji9X28C1/?ref=app
24th Nov 2021, 6:40 PM
Simon Sauter
Simon Sauter - avatar