Questions

Q:

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);

}

A) 123 B) 6
C) Error D) "123"
 
Answer & 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.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 17698
Q:

What is the IUPAC name of [Co(NH3)4Cl2]?

A) Tetra-ammine dichloro cobalt (III) chloride B) Tetra-ammine trichloro cobalt (III)
C) Tri-ammine dichloro cobalt (III) chloride D) Tetra-ammine dichloro cobalt
 
Answer & Explanation Answer: A) Tetra-ammine dichloro cobalt (III) chloride

Explanation:

The IUPAC nomenclature in organic chemistry is a systematic method that is used to name organic chemical compounds as recommended by the International Union of Pure and Applied Chemistry (IUPAC).

 

The IUPAC name of the given complex [Co (NH₃)₄Cl₂ ]Cl is - Tetra-ammine dichloro cobalt (III) chloride.

 

The complex [Co (NH₃)₄ Cl₂ ] Cl ionizes an aqueous solution to furnish the chloride ion Cl⁻ and [Co (NH₃)₄ Cl₂ ] ⁺.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

18 17669
Q:

Who coined the term 'Hindu rate of growth' for Indian economy

A) A.K.Sen B) Kirit S.Parikh
C) Raj Krishna D) Montek Singh Ahluwalia
 
Answer & Explanation Answer: C) Raj Krishna

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

33 17657
Q:

Which of the statements given below are correct?

 

A) Belgium hosted the Table Tennis 2017 ITTF Men's World Cup.

 

B) In 2017, Giannis Antetokounmpo played for the NBA team Milwaukee Bucks.

 

C) United Arab Emirates hosted the 2017 Indoor Cricket World Cup.

 

A) Only B B) Only C
C) Both B and C D) A, B and C
 
Answer & Explanation Answer: D) A, B and C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 17640
Q:

The absolute value of charge on electron was determined by

A) J.J.Thomson B) R.A. Millikan
C) Rutherford D) Chadwick
 
Answer & Explanation Answer: B) R.A. Millikan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

59 17639
Q:

The radioactive element most commonly detected in humans is

A) potassium-40 B) cobalt-60
C) iodine-131 D) plutonium-238
 
Answer & Explanation Answer: A) potassium-40

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

94 17623
Q:

Which Indian economist wrote the 2017 book 'I Do What I Do'? 

 

A) Urjit Patel  B) Amartya Sen 
C) Raghuram Rajan  D) Manmohan Singh
 
Answer & Explanation Answer: B) Amartya Sen 

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: Bank Exams

3 17601
Q:

What will come in place of question mark (?) in the following question?

34 of 35 of 23 of ? = 3174

A) 10550 B) 10540
C) 10580 D) 10500
 
Answer & Explanation Answer: C) 10580

Explanation:

23x35x34x?=31743174x10/3= 10580

Report Error

View Answer Report Error Discuss

0 17599