Right Click to Search

Saturday, January 9, 2025

Subtracting integer value with Pointer


Subtracting integer value with Pointer ;
int *ptr , n;
ptr = &n ;
ptr = ptr - 3;
Output :
  1. It will decrement the pointer by 6 
  2. For more details : Refer Formulae


Bookmark & Share

Tags / Keywords : |

Stumble
Delicious
Technorati
Twitter
Facebook

0 Comments:

Post a Comment

Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email

 

Learn C Programming Copyright © 2010 LKart Theme is Designed by Lasantha, Free Blogger Templates