loading
open in
main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include<stdio.h>
 
int main()
{
    int i1 = 12, *ip1 = &i1;
    int i2 = 12, *ip2 = &i2;
 
    printf("Value of ip1 or address of i1 = %u\n", ip1);
    printf("Value of ip2 or address of i2 = %u\n\n", ip2);
 
    printf("ip2 - ip1 = %u\n", ip1 - ip2);
    printf("ip1 - ip2 = %u\n", ip2 - ip1);
 
    // signal to operating system program ran fine
    return 0;
}