1 |
Escape sequences are used in printf function inside the: |
- A. "and"
- B. 'and'
- C. :and:
- D. ,and;
|
2 |
getch() is used to take ________ as input form user: |
- A. int
- B. char
- C. float
- D. all of them
|
3 |
Which of the following is escape sequence ? |
- A. \n
- B. \t
- C. \a
- D. all of these
|
4 |
Escape sequences consists of ________ characters: |
- A. two
- B. three
- C. four
- D. five
|
5 |
What is true about C language ? |
- A. C is not a case sensitive language
- B. keywords can be used as variable names
- C. All logical operators are binary
- D. none of them
|
6 |
Which operators are applied over one operand only ? |
- A. unary
- B. binary
- C. ternary
- D. all of these
|
7 |
printf is to used print _________ type of data: |
- A. int
- B. float
- C. char
- D. all of them
|
8 |
Which is identifier for compiler to identity the end of a line ? |
|
9 |
Which is unary operator ? |
|
10 |
Which is a combination of backslash (\) and a code character to control printing of data on the screen ? |
- A. escape sequence
- B. format specified
- C. character
- D. printing
|