TGPSC HMWSSB Manager 2015 Paper 2 CSE · Question 101
Question 101 of the TSPSC Manager (Engineering), HMWSSB, 2015: Paper 2 (Computer Science & Information Technology) (1 November 2015). Try it first, then open the answer. The explanation is in the practice app with the All-in-One Pass.
What is the output of following C language code?
#include <stdio.h> int main ( ) { static int i = 1; tun (i); tun (i); tun (i); printf("%d", i); } tun (int i) { i++; }- 1
- 2
- 3
- 4
Show answer
Answer: (1) 1
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.