Match the columns.

C commands

Description

1. getch();

a. This command terminates the C program (main function) and returns 0.

2. return 0;

b. This indicates the end of the main function

3. }

c. This is the main function from where execution of any C program begins.

4. int main()

d. This command waits for any character input from the keyboard.

1
1 - c, 2 - d, 3 - a, 4 - b
2
1 - d, 2 - b, 3 - a, 4 - c
3
1 - d, 2 - a, 3 - b, 4 - c
4
1 - c, 2 - b, 3 - a, 4 - d

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation