Question
int x : 4;
means
a.
x is a four digit integer
b.
x cannot be greater than a four digit integer
c.
x is a four-bit integer
d.
none of above
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The declaration int x : 4; means
Similar Questions
Discover Related MCQs
Q. As soon as a pointer variable is freed, its value
View solution
Q. Choose the correct statements
View solution
Q. Choose the correct statements
View solution
Q. If a variable can take only integral values from 0 to n. where n is a constant integer, then the variable can be represented as a bit-field whose width is the integral part of (the log in the answers arc to the base 2)
View solution
Q. In a C program constant is defined
View solution
Q. The rule for implicit type conversion is
View solution
Q. What is the correct way to round offx, a float, to an int value?
View solution
Q. By default, any real number in 'C' is treated as
View solution
Q. To print out a and b given below, which printf() statement would you use?
float a = 3.14;
double b = 3.14;
View solution
Q. When a variable of data type double is converted into float, then
View solution
Q. 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)?
View solution
Q. The statement
printf( " % f ", ( float )9/5) ;
prints
View solution
Q. The declaration
enum cities{ bethlehem, jericho, nazareth = 1, jerusalem }
assigns the value 1 to
View solution
Q. Integer division in a 'C' program results in:
View solution
Q. In a 'C'expression involving || operator, evaluation
View solution
Q. In C programming language, which of the following operators has the highest precedence?
View solution
Q. If i j,k are integer variable with values 1,2,3 respectively, then what is the value of the expression
!((j + k) > (i + 5))
View solution
Q. The expression a << 6 shifts all bits of a six places to the left. If a Ox6db7, then what is the value of a << 6
View solution
Q. The expression 5 - 2 - 3 * 5 - 2 will evaluate to 18, if - is left associative and
View solution
Q. Choose the correct statements
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!