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

28 33211
Q:

Bats can fly in the dark because

A) they have a better vision in the dark B) the light startles in them
C) they produce high pitched sounds called ultrasonics D) none of the above
 
Answer & Explanation Answer: C) they produce high pitched sounds called ultrasonics

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

162 33181
Q:

Where is RAM located?

A) Mother Board B) Expansion Board
C) External Drive D) None
 
Answer & Explanation Answer: A) Mother Board

Explanation:

RAM is located in The central processing unit (CPU), also called a processor, is located inside the computer case on the motherboard. It is sometimes called the brain of the computer, and its job is to carry out commands.

Report Error

View Answer Report Error Discuss

137 33181
Q:

Improve the given sentence if necessary.

I would rather have a noble enemy than a mean friend.

A) would more have B) would have
C) will have  D) No improvement
 
Answer & Explanation Answer: D) No improvement

Explanation:

‘Rather’ is always followed by ‘Than’. Thus, the phrase ‘would rather have’ is grammatically correct. The correct formation would be, ‘I would rather have a noble enemy than a mean friend’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 33143
Q:

'Bagh', a village in Gwalior is famous for

A) Sculptures B) Architecture
C) Cave Painting D) All of the above
 
Answer & Explanation Answer: C) Cave Painting

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

129 32889
Q:

What is the effective resistance (in Ω) of two resistors 21 Ω and 28 Ω connected in parallel?

 

A) 49 B) 24
C) 12 D) 98
 
Answer & Explanation Answer: C) 12

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams , CAT

2 32765
Q:

India became the first country to partner with which global company on Disaster Response Management?

 

A) Twitter B) Google
C) Facebook D) Microsoft
 
Answer & Explanation Answer: C) Facebook

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

9 32701
Q:

Why are the Gypsies regarded as of Indian origin?

1.They follow Indian religious practices.

2.Their language, called Romani, is an Indo-Aryan language.

3.They believe that they came from India.

4.Epigraphic evidence locates their original home in Uttar Pradesh.

 

Select the correct answer using the code given below.

A) 1 and 4 only B) 2 only
C) 1, 2 and 4 D) 2 and 3
 
Answer & Explanation Answer: D) 2 and 3

Explanation:

Gypsies are believed to have arrived in Europe from northern India in the 1400s. They were called Gypsies because Europeans thought they came from Egypt. This ethnic minority is made up of distinct groups called “tribes” or “nations.” Most of the Gypsies in German-occupied Europe belonged to the Sinti and Roma tribes.

Romani (romani ćhib) Romani, or Romany, is an Indo-Aryan language spoken by about 5-6 million Roma people throughout Europe and the USA. The largest concentrations of Roma people live in Turkey, Spain and Romania. In English these people are often called Gypsies.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 32676