1 |
Which function is generally used to hold the execution of program because the program does not continue further until the user types a key ? |
- A. read
- B. getch()
- C. input
- D. printf
|
2 |
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
|
3 |
All of arithmetic operators, relational operators and logical operators && and || are: |
- A. unary operators
- B. binaryoperators
- C. ternaryoperators
- D. all of these
|
4 |
Which operator accepts Boolean expression and returns true if at least one of the operands is true ? |
|
5 |
After escape character, which specifies the movement of the cursor to start of next time ? |
|
6 |
How many types of logical operators ? |
|
7 |
Which format specifier is used for float data type ? |
|
8 |
Which format specifier is used for integer data type ? |
- A. %d
- B. %i
- C. both a and b
- D. none of these
|
9 |
printf is to used print _________ type of data: |
- A. int
- B. float
- C. char
- D. all of them
|
10 |
Which escape sequence specifies the I/O function of moving to the next tab stop horizontally ? |
|