Right Click to Search

Friday, January 8, 2025

Pointer Addition: Adding integer value with Pointer


Adding integer value with Pointer ;

int *ptr , n;
ptr = &n ;
ptr = ptr + 3;

Output :
  1. It will Increment 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