Questions

Q:

main()

{

char *p; p = "Hello";

printf ("%cn", *&*p);

}

A) H B) Hello
C) Compilation error D) H E L L O
 
Answer & Explanation Answer: A) H

Explanation:

* is a dereference operator & is a reference operator. They can be applied any number of times provided it is meaningful. Here p points to the first character in the string "Hello". *p dereferences it and so its value is H. Again & references it to an address and * dereferences it to the value H

Report Error

View Answer Report Error Discuss

Filed Under: Programming
Job Role: Software Architect

57 141575
Q:

Read each sentence to find out whether there is any error in any part

Though he is a gifted comedian(a), he prefers spend his spare time(b) watching horror movies(c). No error.(d)

A) a B) b
C) c D) d
 
Answer & Explanation Answer: B) b

Explanation:

‘Prefer’ is followed by the gerund form of the verb. Thus, ‘spend’ needs to be replaced with ‘spending’ to make the sentence grammatically correct. Thus, the correct sentence would be, ‘Though he is a gifted comedian, he prefers spending his spare time watching horror movies.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 140886
Q:

In each of the following choose the word most similar in meaning to the word given in capitals.

“MEDDLE’

A) Disregard B) Overlook
C) Interfere D) Free
 
Answer & Explanation Answer: C) Interfere

Explanation:

MEDDLE means interfere in something that is no one’s concern.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 140668
Q:

Choose the word which is nearest in meaning to the given word:-

Penchant

A) Liking B) Eagerness
C) Disability D) Keenness
 
Answer & Explanation Answer: A) Liking

Explanation:

Penchant means habitual liking for something which is nearest in meaning to liking.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 140625
Q:

Select the antonym of

 

sortie

 

A) raid B) assault
C) sally D)  retreat
 
Answer & Explanation Answer: D)  retreat

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 140566
Q:

Select the synonym of

preacher

A) atheist B) agnostic
C) evangelist D) pagan
 
Answer & Explanation Answer: D) pagan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 140348
Q:

Select the synonym of

 

peripatetic

 

A) confine B) spire
C) ultimate D) nomadic
 
Answer & Explanation Answer: D) nomadic

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 139719
Q:

How many squares do you see?

 

squares11523426304.jpg image

A) 44 B) 45
C) 46 D) 50
 
Answer & Explanation Answer: B) 45

Explanation:

Number of squares in the given figure is

16 + 9 + 19 + 1 = 45.

Report Error

View Answer Report Error Discuss

766 139412