Practice Question and Answer
8Q: If the following program (myprog) is run from the command line as myprog 1 2 3 what would be the output? main(int argc, char *argv[]) { int i, j = 0; for (i = 0; i < argc ; i++) j = j + atoi ( argv[i]); printf ("%d", j); } 1699 05b5cc7dde4d2b419777515cb
5b5cc7dde4d2b419777515cb- 1123false
- 26true
- 3Errorfalse
- 4"123"false
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "6"
Explanation :
Answer: B) 6 Explanation: When atoi() tries to convert argv[0] to a number it cannot do so (argv[0] being a file name) and hence returns a zero.
Q: Which of the following benefits are associated with PMJDY?
1699 064ba64e4e2108a7239393998
64ba64e4e2108a7239393998- 1Overdraft facility up to Rs.5000/-false
- 2Accidental Insurance cover of Rs.1,00,000/-false
- 3Life insurance cover of Rs.30,000/-false
- 4All of the Abovetrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "All of the Above"
Explanation :
Following are the benefits associated with Pradhan Mantri Jan Dhan Yojana (PMJDY)-
1. All beneficiaries are allowed to open a free bank account. There is no minimum account balance requirement.
2. Interest: Interest is earned on the amount deposited in the account.
3. Accident Insurance Cover of Rs 1 Lakh: The account holder gets Rs 1 lakh in case of accidental death or total disability. Insurance cover of Rs 1 lakh is available.
4. Rs 30,000 Life Insurance Cover: Rs. 1,00,000 in case of death of the account holder. Insurance cover of Rs 30,000 is available.
5. Overdraft facility: After satisfactory account operation for six months, the account holder can avail up to Rs. An overdraft facility up to Rs 5,000 can be available.
6. Benefits of Government Schemes: The account holder can access the benefits of government schemes, such as Pradhan Mantri Jeevan Jyoti Bima Yojana (PMJJBY), Pradhan Mantri Suraksha Bima Yojana (PMSBY), and Atal Pension Yojana (APY).
Q: Which of the following launched the Aerospace and Defence Industry Group?
1699 05de61edea2451c60574de26e
5de61edea2451c60574de26e- 1Indo Greek Business Councilfalse
- 2China India Business Councilfalse
- 3UK India Business Counciltrue
- 4UK ASEAN Business Councilfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 3. "UK India Business Council"
Q: The process of bones increasing in width is known as 1699 05b5cc672e4d2b4197774c0c3
5b5cc672e4d2b4197774c0c3- 1appositional growthtrue
- 2closing of the epiphyseal platefalse
- 3concentric growthfalse
- 4long bones reaching adult length and widthfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "appositional growth"
Explanation :
Answer: A) appositional growth Explanation:
Q: Under which of the following conditions are citizenship be provided in India? 1. One should be born in india 2. Either of whose parents was born in India 3. Who has been ordinary resident of India for not less than five years 1699 05b5cc7f4e4d2b41977751fd9
5b5cc7f4e4d2b41977751fd9- 11 and 2 onlyfalse
- 22 and 3 onlyfalse
- 31,2 and 3false
- 4Either 1 or 2 or 3true
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "Either 1 or 2 or 3"
Explanation :
Answer: D) Either 1 or 2 or 3 Explanation:
Q: Recently which senior litterateur has been awarded Vyas Samman on behalf of KK Birla Foundation, New Delhi?
1699 06063321ccfdbf24a555fb58b
6063321ccfdbf24a555fb58b- 1Sharad Pagaretrue
- 2Vishnu Prabhakarfalse
- 3Ajay Agarwalfalse
- 4Mohan Tripathifalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "Sharad Pagare"
Q: Complete the series choosing the missing number:
12, 15, 21, 24, 30 ______
1699 0618b8557cbb30050eff1a198
618b8557cbb30050eff1a198- 144false
- 258false
- 333true
- 4None of the abovefalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 3. "33"
Q: Beni Prasad Verma, who died recently, belongs to which profession?
1699 05e845dbd41a4013349c20e03
5e845dbd41a4013349c20e03- 1Politiciantrue
- 2Soldierfalse
- 3Actorfalse
- 4Professorfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice

