1 |
The format specifier % d is used for |
- A. Int
- B. Unsigned short
- C. Unsigned float
- D. Unsigned long int
|
2 |
Which function is used to input data in C program? |
- A. scanf
- B. getch()
- C. gets()
- D. All
|
3 |
getch() stands for: |
- A. Go character
- B. Get character
- C. Give character
- D. All
|
4 |
The function getche() is defined in: |
- A. stdio.h
- B. conio.h
- C. string.h
- D. math.h
|
5 |
Which of the following things are determined by format specifier? |
- A. Data type
- B. Field width
- C. Format of the value
- D. All of these
|
6 |
The format specifier %u is used for: |
- A. Integer
- B. Unsigned short
- C. Unsigned float
- D. Unsigned long int
|
7 |
Which escape sequence can move the cursor at the beginning of current line in C? |
|
8 |
The number of variables that can be used in printf ( ) function are |
- A. One
- B. Many
- C. Three
- D. Zero
|
9 |
The general form of format specifier for floating point value: |
- A. %m.nf
- B. m.n%
- C. m%.nf
- D. m.n%f
|
10 |
In an E-R diagram a rectangle represents |
- A. Entity
- B. Arttibute
- C. Record
- D. None of them
|