GATE 2014 SET-3 Q20: Let A be a square matrix of size n x n. Consider the following program. What is the expected output? C = 100 for i = 1 to n do for j = 1 to n do { Temp = A[i][j] + C A[i][j] = A[j][i] A[j][i] = Temp - C } for i = 1 to n do for j = 1 to n do Output(A[i][j]); Website: https://solutionsadda.in/ ISRO / DRDO PYQs: https://solutionsadda.in/isro/ GATE PYQs : https://solutionsadda.in/gate1/ NIC - NIELIT PYQs: https://solutionsadda.in/nielit/ ISRO Complete Analysis: https://solutionsadda.in/isro-complet... NIC-NIELIT Complete Analysis: https://solutionsadda.in/nielit/ GATE Complete Analysis: https://solutionsadda.in/gate-complet... For GATE, BARC, ISRO, CIL, AAI, HAL, UGC NET JRF, NIC NIELIT, STQC NIELIT, NVS, KVS, DSSSB PGT/TGT Test series : https://solutionsadda.in/test-series/ If you have any queries write a mail: [email protected] Face Book Page: / solutionsaddain-111628724482494 Telegram: https://t.me/solutionsaddaforcse