aviabhinn98's blog

By aviabhinn98, history, 4 years ago, In English

for(int i=0;i<n;i++) { }

vs

for(int i=0;i<n;++i){ }

Both these loop run n times but we know that ++i and i++ are different. So can anyone explain what is happening in backend in gcc compiler using cpp? Thanks in advance

Full text and comments »

  • Vote: I like it
  • -31
  • Vote: I do not like it