#include<stdio.h> int main() { int arr[5] = { 1, 2, 3, 4, 5 }; int *ptr = arr; printf("%d\n", *ptr); printf("%p\n", ptr); return 0; }
To embed this program on your website, copy the following code and paste it into your website's HTML: