Top

C Constants

91.

If s and b are integers then  purpose of the following program fragment is to 

b = s + b ;

s = b - s ;

b = b - s ;

Answer: C

No answer description available for this question.
 

Enter details here

92.

Whats is the output of this C code?

void main()
{
int const k = 11;
k++;
printf("k is %d", k);
}

 

Answer: D

Constant variable has to be declared and defined at the same time. Trying to change it later results in error.

Enter details here

93.

Consider the statements
putchar ( getchar ( ));
putchar(getchar( ));
if
a
b
is the input, the output will be

Answer: B

No answer description available for this question.
 

Enter details here

Loading…
Tags: C Constants Questions and Answers || C Constants MCQ Questions and Answers || C Constants GK Questions and Answers || C Constants GK MCQ Questions || C Constants Multiple Choice Questions and Answers || C Constants GK || GK on C Constants || C Programming Questions and Answers || C Programming MCQ Questions and Answers || C Programming GK Questions and Answers || GK on C Programming