Practice Question and Answer
8Q: Point out the error, if any, in the following program. #include "stdarg.h" main() { display ( 4, 12.5, 13.5, 14.5, 44.3); } display(int num, ...) { float c; int j; va_list ptr; va_start (ptr, num); for ( j = 1; j <= num; j++) { c = va_arg ( ptr, float ); printf ("\n%f", c); } } 1297 05b5cc7dce4d2b419777515b9
5b5cc7dce4d2b419777515b9- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
While extracting a float argument using va_arg we should have useed c = va_arg (ptr, double)
Q: The angle of elevation of the top of a tower from the top of a building whose height is 680 m is 45° and the angle of elevation of the top of same tower from the foot of the same building is 60°. What is the height (in m) of the tower?
1297 064b4f48636fc1bf576504f42
64b4f48636fc1bf576504f42- 1340(3 + √3)true
- 2310(3 - √3)false
- 3310(3 + √3)false
- 4340(3 - √3)false
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "340(3 + √3)"
Q: Which of the following gas is not present in the atmosphere?
1297 0611b611714663c47a233f052
611b611714663c47a233f052- 1Nitrogenfalse
- 2Heliumfalse
- 3Chlorinetrue
- 4Kryptonfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 3. "Chlorine"
Q: For whom has Vidisha Maitra of India been elected in the United Nations?
1297 05fad1589aa6ba57451302fa3
5fad1589aa6ba57451302fa3- 1For United Nations Advisory Committee and Budgetary Questionsfalse
- 2For the United Nations Advisory Committee and Administrative and Budgetary Questions (ACABQ)true
- 3For United Nations Advisory Committee and Administrative Questionsfalse
- 4For United Nations Advisory Committee and Administrative Questionsfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "For the United Nations Advisory Committee and Administrative and Budgetary Questions (ACABQ)"
Q: Recently, who became the first woman Deputy Chief Minister of Bihar?
1297 05fb3c41a06649f682b91acf8
5fb3c41a06649f682b91acf8- 1Kanchan Devifalse
- 2Pushpa Devifalse
- 3Manju Devifalse
- 4Renu Devitrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "Renu Devi"
Q: How much financial aid has been announced by India in COVID-19 ASEAN Response Fund?
1297 05fb7cc1de7381019a0b8bcdd
5fb7cc1de7381019a0b8bcdd- 1USD 3 millionfalse
- 2USD 5 millionfalse
- 3USD 2 millionfalse
- 4USD 1 milliontrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "USD 1 million"
Q: IIT Madras and _______ India team up to host SAMVEDAN 2021.
1297 060f002b8ef8c4b405c8f4c1a
60f002b8ef8c4b405c8f4c1a- 1Oneplusfalse
- 2Dellfalse
- 3HCLfalse
- 4Sonytrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "Sony"
Q: Fill in the blank with the correct English and Hindi version of the technical term:
The officer failed to provide an ______ certificate in time.
अधिकारी समय पर ______ प्रमाणपत्र नहीं दे पाये।
1297 06392d40ab13d3250d32d2b17
6392d40ab13d3250d32d2b17The officer failed to provide an ______ certificate in time.
अधिकारी समय पर ______ प्रमाणपत्र नहीं दे पाये।
- 1abetment - दुष्प्रेरणfalse
- 2abnormal demand - अनुचित माँगfalse
- 3abolishment - उन्मूलनfalse
- 4abatement - कटौतीtrue
- Show AnswerHide Answer
- Workspace
- SingleChoice

