Here is the code:
#include <stdio.h>
int main()
{
int arr[] = {10, 20, 30, 40, 50, 60};
int *ptr = arr;
printf("Size of arr[] %d\n", sizeof(arr));
printf("Size of ptr %d", sizeof(ptr));
return 0;
}
What is the difference between the two printf
statements?