Message from C, C++ talks

July 2019

— Only admins can execute this command!

— Looooool

— Thx bro

— ^•^

— 

Can we do like..

We have 2 pointers..
prev:- pointing to previous node

next:- pointing to present node that is inputted through keyword

and we can compare like
If(next->data == prev->data +1)

— It could be a right solution, I went into hypnosis 🙂
I'll check!

— I'll let you know soon..

— Yes please

— That is right solution))

— Why is the j value 2 here? shouldn't it be 1? coz a[1] is 1 there and given statement is the post increment..so shouldn't the j value stay as 1?

Message permanent page

— It is incremented when you do i=++a[1];

— I = ++a[1]; // i = 2, a[1] = 2 now

— Yeah i=2,but why does it effect a[1]? i is just a variable right? why would assigning a variable effect array element?

Message permanent page

— Another one bites the dust...!
Banned Dan.
Reason:
Cryptocurrency ad

— Array is just a pointer, so when u increment arr[index] u increment array element, not it's copy