In this webinar session my doubt is

In one line statement what is the difference between *cptr/ *xptr and cptr / xptr @tarunluthra

@Nikhil-Aggarwal-2320066674901389
While declaration , * has a different meaning ,
While using otherwise after declaration , it has a different meaning .

During declaration of variable :
int x = 5;
int *xptr = &x;
If * is added to a variable during declaration , it signifies that the variable is a pointer variable.

Using otherwise :
(*) is the dereference operator.
If used with a pointer , it deferences it .
cout << *xptr << endl ; //Dereferences xptr and prints 5
cout << xptr << endl ; //Prints the address of x