cursor pointer image code example
Example 1: css cursor pointer
cursor: pointer;
/* Mouse image is a hand */
Example 2: cursor not pointer
#Element {
cursor: pointer; /*When you point on this element, cursor will be
a pointer.*/
}
#Element {
cursor: default; /*Will make the cursor not point.*/
}
Example 3: cursor as image css
You can use own image or emoji as cursor
<style>
a{
cursor: url("custom.gif"), url("custom.cur"), default;
}
</style>
<p>Place your mouse pointer <a href="#">over me</a> to reveal the custom cursor.</p>
Example 4: pointer help
ptr++; // Pointer moves to the next int position (as if it was an array)
++ptr; // Pointer moves to the next int position (as if it was an array)
++*ptr; // The value of ptr is incremented
++(*ptr); // The value of ptr is incremented
++*(ptr); // The value of ptr is incremented
*ptr++; // Pointer moves to the next int position (as if it was an array). But returns the old content
(*ptr)++; // The value of ptr is incremented
*(ptr)++; // Pointer moves to the next int position (as if it was an array). But returns the old content
*++ptr; // Pointer moves to the next int position, and then get's accessed, with your code, segfault
*(++ptr); // Pointer moves to the next int position, and then get's accessed, with your code, segfault