1 |
Which library file include in header section of program, when using getch() function ? |
- A. conio.h
- B. stdio.h
- C. math.h
- D. string.h
|
2 |
Which of the following is used as an assignmentoperator in C language ? |
|
3 |
Which operator returns remainder ? |
- A. modulusoperators
- B. binaryoperators
- C. ternaryoperators
- D. all of these
|
4 |
In C language which operator is used to check for equality of two expression ? |
|
5 |
Let the following part of code, what will be the value of variable an after execution:<div>int a = 4;</div><div>float b= 2.2;</div><div>a = a * b;</div> |
- A. 8.8
- B. 8
- C. 8.2
- D. 8.0
|
6 |
Which of the following is a valid character ? |
- A. 'here'
- B. "a"
- C. '9'
- D. none of them
|
7 |
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
|
8 |
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
|
9 |
Which operator is used to subtract the value on right side from the value on left side ? |
|
10 |
Which operators perform operation on Boolean expressions and produce a Boolean expressions as a result ? |
- A. logical
- B. assignment
- C. arithmetic
- D. relation
|