Top

C Constants

Answer: D

No answer description available for this question.
 

Enter details here

Answer: D

No answer description available for this question.
 

Enter details here

Answer: C

No answer description available for this question.
 

Enter details here

24.

By default, any real number in 'C' is treated as

Answer: B

No answer description available for this question.
 

Enter details here

25.

Constants in C can be divided into categories ?

Answer: C

No answer description available for this question.
 

Enter details here

Answer: D

No answer description available for this question.
 

Enter details here

27.

What is the output of this C code?

int main()
{
int var = 010;
printf("%d", var);
}

 

Answer: B

010 is octal representation of 8.

Enter details here

28.

To print out a and b given below, which printf() statement would you use?

float a = 3.14;
double b = 3.14;

Answer: A

No answer description available for this question.
 

Enter details here

Answer: D

No answer description available for this question.
 

Enter details here

30.

The library function sqrt operates on a double precision argument. If, i is an integer variable, then which of the following calls would correctly compute sqrt(i)?

Answer: A

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