This repository has been archived on 2025-12-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-09-20 14:17:13 +03:00

18 lines
301 B
C

#include<stdio.h>
int main()
{
int *arrop[3]; // arrow of pointers to integers
int a = 10, b = 20, c = 50;
arrop[0] = &a;
arrop[1] = &b;
arrop[2] = &c;
for(int i = 0; i < 3; i++)
{
printf("Address = %p, value = %d\n", arrop[i], *arrop[i]);
}
return 0;
}