Tuesday, May 15, 2012

Aikman Series Chapter 2 Question 1

Chapter No.2 Elements of C

Question No.1 : Fill in the blanks

1.   The first character of a variable name must be ____________
2.   _____________ operates on two operands.
3.   Named memory cells which are used to store program`s input and output are called ____________.
4.   The maximum length of a character constant is _____ character(s)
5.   The value of a variable of type int ranges from ___________ to ___________
6.   The value of an unsigned int variable ranges from _________ to ___________
7.   The value of a float type variable ranges from ____________ to ___________
8.   The symbole for logical OR operator is __________
9.   __________ are used to increase the readibility if the program.
10. Multi line comments start with ______ and end with _________



Solution
1.   An alphabet or an underscore ( _ )
2.   Binary Operator
3.   Variables
4.   One
5.   -32768 to 32767
6.   0 to 65535
7.   10^(-38) to 10^(+38)  :: 10 raised to the power -38 to 10 raised to the power +38
8.   ||
9.   Comments
10. /* and ends with */


No comments:

Post a Comment