edited by
268 views
1 votes
1 votes

Which one of the choices given below would be printed when the following program is executed?

My answer is - mech, g, mech.

Correct answer is - mech, g, civil

I want to know why the last print statement prints civil.

edited by

Please log in or register to answer this question.

Related questions

2 votes
2 votes
0 answers
1
4 votes
4 votes
0 answers
2
gari asked Jan 13, 2018
570 views
#include <stdio.h>int main(){ int arr [3] = {{{1,2},{2,3},{4,5}},{{1,2},{2,3},{4,5}}}; printf("%d %d", arr - arr[0], arr [0]- arr[0][0]); return 0;}