will the following code give the output as    1 2 3 4 5 5  ??
#include <stdio.h>
void main()
 {
        int a[2][3] = {1, 2, 3, 4, 5};
        int i = 0, j = 0;
        for (i = 0; i < 2; i++)
        for (j = 0; j < 3; j++)
        printf("%d", a[i][j]);
 }

Posted on by