Questions

Q:

main()

{

char s[ ] = "man";

int i;

for( i=0; s[ i ]; i++)

printf( "n%c%c%c%c", s[ i ], *(s+i), *(i+s), i[s] );

}

A) mmmm aaaa nnnn B) aaaa mmmm nnnn
C) nnnn aaaa mmmm D) None
 
Answer & Explanation Answer: A) mmmm aaaa nnnn

Explanation:

s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the same idea.Generally array name is the base address for that array. Here s is the base address. i is the index number/displacement from the base address. So, indirecting it with * is same as s[i]. i[s] may be surprising. But in the case of C it is same as s[i].

Report Error

View Answer Report Error Discuss

Filed Under: Programming

29 38625
Q:

The Gurkhas are the original inhabitants of

 

 

A) Nepal B) Bhutan
C) China D) Tibet
 
Answer & Explanation Answer: A) Nepal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

3 38607
Q:

Improve the bracketed part of the sentence.

(It is) a pleasant day, we went for a walk.

A) Having been B) It being
C) It was D) no improvement
 
Answer & Explanation Answer: B) It being

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 38594
Q:

Improve the bracketed part of the sentence.

(As soon as I saw) the ferocious dog than I ran away.

A) No sooner than I saw B) No sooner has I seen
C) No sooner did I see D) no improvement
 
Answer & Explanation Answer: C) No sooner did I see

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 38546
Q:

Improve the bracketed part of the sentence.

 

Kanika accepted the invitation (on) alacrity.

A) in B) with
C) from D) No improvement
 
Answer & Explanation Answer: B) with

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 38546
Q:

Improve the bracketed part of the sentence.

Please pass me that (scissors).

A) scissor B) pair of scissor
C) pair of scissors D) no improvement
 
Answer & Explanation Answer: C) pair of scissors

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 38538
Q:

Rearrange the parts of the sentence in correct order.

 

Cities have

 

P : intellectual stimulus

Q : always provided

R : and educational leadership

 

A) PQR   B) RQP  
C) QPR D) PRQ
 
Answer & Explanation Answer: C) QPR

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 38538
Q:

Which one of the following four vedas contains an account of magical charms and spells

A) Rigaveda B) Samaveda
C) Yajurveda D) Atharvaveda
 
Answer & Explanation Answer: D) Atharvaveda

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

93 38529