0 votes 0 votes closed as a duplicate of: Prog\ What is output of the following? #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 Priya0612 asked Aug 23, 2018 • closed Aug 23, 2018 by srestha Priya0612 147 views comment Share Follow See all 0 reply Please log in or register to add a comment.