Questions

Q:

How would you find the length of each string in the following Program?

main()

{

    char *str[] = { "Frogs", "Do", "Not" , "Die" , "They" , "Croak!"};

    printf ("%d%d", sizeof (str), sizeof (str[0]));

}

Answer

main()


{


   char *str[] = { "Frogs", "Do", "Not", "Die." , "They", "Croak!" };


   int i;


         for ( i = 0;i<=5;i++)


         printf ("\n%s%d", str[i], strlen( str[i]));


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2267
Q:

Name 5 different addressing modes?

Answer

Immediate, Direct, Register, Register indirect, Implied addressing modes.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2267
Q:

What has holes but holds water?

Answer

A sponge has many holes but it absorbs water and can hold them in it.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

1 2267
Q:

An improvement in production technology will

A) shift the supply curve to the left B) shift the demand curve to the left
C) shift the supply curve to the right D) increase equilibrium price
 
Answer & Explanation Answer: C) shift the supply curve to the right

Explanation:

An improvement in production technology will shift the supply curve to the right.

Report Error

View Answer Report Error Discuss

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

2 2266
Q:

Who were not confirmed with the India's highest civilian honour Bharat Ratna for 2018?

A) Bhupen Hazarika B) Nanaji Deshmukh
C) Pranab Mukherjee D) Kailash Satyarthi
 
Answer & Explanation Answer: D) Kailash Satyarthi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 2266
Q:

Groundwater is found underground in the zone of

A) Penetration B) Aeration
C) Saturation D) Both B & C
 
Answer & Explanation Answer: D) Both B & C

Explanation:

Groundwater is all the water that has penetrated the earth's surface and is found in one of two soil layers. The one nearest the surface is the "zone of aeration", where gaps between soil are filled with both air and water. Below this layer is the "zone of saturation", where the gaps are filled with water.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 2266
Q:

The question below consists of a set of labelled sentences. These sentences, when properly sequenced form a coherent paragraph. Select the most logical order of sentences from among the options.


P-But he did not know how to find one at that hour.
Q-It was his first visit to the city and he didn't know where to go.
R-Mohanlal's train was late and it reached Kolkata a little after midnight.
S-He thought he would go to a choultry where he would not have to pay rent.

A) PSQR B) QRSP
C) RQSP D) RSQP
 
Answer & Explanation Answer: C) RQSP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2266
Q:

In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one which best expresses the same sentence in Indirect/Direct speech.

Priya advised me not to go to school the next day.

A) "Don't go to school next day" Priya said to me. B) "Don't go to school tomorrow" Priya said to me.
C) Priya said, "Will you not go to school tomorrow?" D) Priya told me that, "Don't go to school tomorrow."
 
Answer & Explanation Answer: B) "Don't go to school tomorrow" Priya said to me.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2266