C Programming variables (Set 1)
MCQ problems on C Programming variables declarations and initializations.
| 1. |
Which of the declaration is correct? |
| A. |
|
| B. |
|
| C. |
|
| D. |
|
| 2. |
Which of the following operations are INCORRECT? |
| A. |
|
| B. |
|
| C. |
|
| D. |
|
| 3. |
Which of the following correctly represents a long double constant? |
| A. |
6.68LF |
| B. |
6.68f |
| C. |
6.68L |
| D. |
6.68 |
| 4. |
Which of the structure is incorrect?
1 :
|
| A. |
1 |
| B. |
2 |
| C. |
3 |
| D. |
1,2,3 |
| 5. |
Which of the structure is correct? 1 :
|
| A. |
1 |
| B. |
2 |
| C. |
3 |
| D. |
1,2,3 |
| 6. |
Take a look at following declarations: 1 : typedef long a;
Which of the above declarations is correct ? |
| A. |
1 |
| B. |
2 |
| C. |
3 |
| D. |
1,2,3 |
Join the community of 1 Lakh+ Developers
Create a free account and get access to tutorials, jobs, hackathons, developer events and neatly written articles.
Create a free account