C online Quiz 1
Q1. Who developed C Language?
a . James Gosling
b . Dennis Ritchie
c . Ken Thompson
d . David Heinemeier Hansson
Q2. A character constant can have a maximum length of ______ in C Language
a . 4 characters
b . 3 characters
c . 2 characters
d . 1 character
Q3. The range of integer constants in C Language?
a . -32768 to 32767
b . 32767 to 32768
c . -3.4e38 to 3.4e38
d . None of above
Q4. What are the two forms of Real Constants in C Language?
a . Exponential, Integer
b . Fractional, Exponential
c . Integer, Character
d . None of above
Q5. How many characters are allowed for a variable name in C language?
a . 30
b . 40
c . 31
d . 41
Q6. Are commas allowed in a variable name in C Language? For example, is the following valid for a variable name?
a,,b
a . Yes
b . No
Q7. Is underscore allowed in a variable name in C Language? For example, is the following valid for a variable name?
a__b
marks_students
a . Yes
b . No
Q8. A real constant in C Language should have ________ one digit. Fill in the blanks!
a . only
b . at most
c . at least
d . none
Q9. Can we use keywords as variables names in C Programming?
a . Yes
b . No
Q10. Every statement in C programming ends with a ?
a . :
b . ;
c . _
d . <
0 comments:
Post a Comment