Capgemini Pseudo Code MCQs (previously asked) Capgemini pseudocodes asked on 18th december 2021 slot 2 1)What will be the output of the following pseudocode? #include int main() { char ch = 'A'; printf("%d\n", ch); return 0; } a) A b)'A' c) 65 d) 97 Ans: Option a 2)What will be the output of the following pseudocode? #include int foo(int* a, int* b) { int sum = *a + *b; *b = *a; return *a = sum - *b; } int main() { int i = 0, j = 1, k = 2, l; l = i++ || foo(&j, &k); printf("%d %d %d %d", i, j, k, l); return 0; } a) 1211 b) 1121 c) 1221 d) 1222 Ans: Option a 3) What will be the output of the following pseudocode? #include int i; int main() { if (i); else printf("Ëlse"); return 0; } a) if block is executed. b) else block is executed ...