in Programming closed by
107 views
0 votes
0 votes
#include <stdio.h>
int main(void)
{
char a[5] = { 1, 2, 3, 4, 5 };
char *ptr = (char*)(&a + 1);
printf("%d %d\n", *(a + 1), *(ptr - 1));
return 0;
}

what is o/p of this program?

how does a and &a denote different things in an array? please explain

in Programming closed by
107 views

Related questions