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
  • 186,650
  • 20
  • 189
  • 240

0 Answers0