EASY
HSSC Clerk
IMPORTANT
Earn 100

Which of the following control structures is used in every program?

50% studentsanswered this correctly

Important Questions on Programming in C/C++

MEDIUM
HSSC Clerk
IMPORTANT
Length of the string "correct" and "correct strings" are
EASY
HSSC Clerk
IMPORTANT

The purpose of the following program fragment,

b = s+b;

s=b-s;

b=b-s; where s, b are two integers, is to:

MEDIUM
HSSC Clerk
IMPORTANT
The value of an automatic variable that is declared but not initialized will be
MEDIUM
HSSC Clerk
IMPORTANT
If a global variable is of static storage class, then
HARD
HSSC Clerk
IMPORTANT

Which of the following about conditional compilations is not true?

1: It is taken care of by the computer.

2: It is setting the compiler option conditionally.

3: It is compiling a program based on a condition.

4: It is taken care of by the pre-processor.

HARD
HSSC Clerk
IMPORTANT

For C preprocessor, which of the following is/are true?

1: Takes care of conditional compilation

2: Takes care of macros

3: Takes care of included files

4: Act before compilation

MEDIUM
HSSC Clerk
IMPORTANT
The storage class static can be used to