C Language MCQ - English
For 16-bit compiler allowable range for integer constants is ________?
Home | Discussion ForumFree Online Test
For 16-bit compiler allowable range for integer constants is ________?
-3.4e38 to 3.4e38
-32767 to 32768
-32668 to 32667
-32768 to 32767
Answer : D
Free Online Test
View More Related Question
1) Predict the output #include <stdio.h>
int main()
{
float c = 5.0;
printf ("Temperature in Fahrenheit is %.2f", (9/5)*c + 32);
return 0;
}
Temperature in Fahrenheit is 41.00
Temperature in Fahrenheit is 37.00
Temperature in Fahrenheit is 0.00
Compiler Error
View Answer
2) By default a real number is treated as a
3) What will be the output of the following C code? #include <stdio.h>
int main()
{
float x = 'a';
printf("%f", x);
return 0;
}
4) Which of the following is a User-defined data type?
typedef int Boolean;
typedef enum {Mon, Tue, Wed, Thu, Fri} Workdays;
struct {char name[10], int age};
all of the mentioned
View Answer
5) The Format Identifier %u is used for?