__shivam_kumar's blog

By __shivam_kumar, history, 4 years ago, In English

can anyone pls share any sheet or practice problems link or anything (easy -> medium -> hard) so that I can solve loads and loads of problems from dynamic programming, it would really help me improve dynamic programming, thank you :)

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it

By __shivam_kumar, history, 5 years ago, In English

you cannot do nesting of post-increment operator whereas pre-increment nesting does not cause any problem

conclusion : never do post increment nesting

eg :

int a = 10;

 cout<<(++(++a))<<"\n";// valid in c++

 cout<<((a++)++); // in-valid in c++

Full text and comments »

Tags c++
  • Vote: I like it
  • -21
  • Vote: I do not like it