0

Doubt in my code_pre increment and post increment without using arithmetic operator

https://code.sololearn.com/c9WDtXR2X2j5 hi friends here is my code..... i am getting wrong output for some inputs. like for 3 ,7,11 why is it happening like that.....please correct the code if any errors.

6/22/2019 4:32:38 AM

malepu rakesh

2 Answers

New Answer

+2

Line 36: *x=*x^1; ==> *x=*x^m;

+1

Thank you friend