i have no knowledge of c++ but when i check your code with it’s c equivalent i found following errors in your code which i am mentioning in the code
hope it will help you
1 Like
This code works perfectly in xcode but when i run it in ideone I get output of 100! as -3, -4
Why is that?
Thanks a lot man.