0
#include<stdio.h> 

    int main(){
    int i=30;
    int *ptr=&i;
    printf("Value of i is %d\n",*ptr);
    ptr++;
    printf("Value of i is %d\n",*ptr);
    return 0;
}

//OUTPUT:-

Value of i is 30

Value of i is 6618648

dbush
  • 205,898
  • 23
  • 218
  • 273

0 Answers0