Problem Statement- Create four integers, four pointers to these integers and four references to them. Store these pointers and references in two arrays and print out the values of four integers using these arrays.
#include<stdio.h> int main() { int n[4],*arr[4],*ref[4]; int i; printf("Enter any 4 nos\n"); for(i=0;i<4;i++) scanf("%d",&n[i]); for(i=0;i<4;i++) arr[i]=&n[i]; for(i=0;i<4;i++) ref[i]=&*arr[i]; for(i=0;i<4;i++) printf("%d ",*ref[i]); return 0; }