— Only admins can execute this command!
— Thx bro
Can we do like..We have 2 pointers..prev:- pointing to previous node next:- pointing to present node that is inputted through keywordand we can compare likeIf(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 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;
— I = ++a; // i = 2, a = 2 now
— Yeah i=2,but why does it effect a? i is just a variable right? why would assigning a variable effect array element?
— 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