At 9:30, the value in *x is 1000 and for *y is 1002, which are pointers to x[j] and x[j+1], they how come *x is getting the value 50 and *y is getting value 2. Its a bit confusing.....as x[j] and x[j+1] are passing their addresses not their values.... isn't the address getting changed...? Any solution anyone....???
@@3325631273 but here they are trying to swap the values using there respective address. Its just another method to swap. There is no reason to argue for that . The video is just teaching how we can use the address also to swap the values. Hope you are satisfied with the answer.
At 9:30, the value in *x is 1000 and for *y is 1002, which are pointers to x[j] and x[j+1], they how come *x is getting the value 50 and *y is getting value 2. Its a bit confusing.....as x[j] and x[j+1] are passing their addresses not their values.... isn't the address getting changed...? Any solution anyone....???
because int * x means that the value at address x is integer and not the address is integer
@@ajayshankar7298 thts wht int x means anyhow ,whts the difference then?
@@3325631273 but here they are trying to swap the values using there respective address.
Its just another method to swap. There is no reason to argue for that . The video is just teaching how we can use the address also to swap the values. Hope you are satisfied with the answer.
8:30
Thank you sir
Boooooooooooooooom
Nice sir
Thanks
booring clases
not good