Learn with Anil · TGPSC HMWSSB Manager (Engineering) PYQsPractise online →Subscribe ₹149

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.

  1. Manager 2015 Paper 2 (CS & IT) · Q101 · Programming in C, C++ & Java · C Programming

    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. 1
    2. 2
    3. 3
    4. 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.

Answer it in the practice appMake a topic-wise quiz