0 0 votes closed as a duplicate of: Prog \ What is the output of the following program? #include <stdio.h> void foo(int[][3]); int main(void) { int a[3][3] = { {1, 2, 3}, {4, 5, 6}, {7, 8, 9} }; foo(a); printf("%d\n", a[2][1]); return 0; } void foo(int b[][3]) { ++b; b[1][1] = 9; } (a) 8 (b) 9 (c) 7 (d) none of the above Programming in C programming-in-c output interview array + – Desert_Warrior 841 views comment Share Follow Print See 1 comment 1 1 comment reply Desert_Warrior commented May 16, 2016 reply Follow flag is answer 7 ? 0 0 replyShare Please log in or register to add a comment.