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 2143
Q:

When it comes to cholesterol it is better to have

A) more LDL B) more HDL
C) more cholesterol D) a high ratio of LDL to HDL
 
Answer & Explanation Answer: B) more HDL

Explanation:

HDL stands for high-density lipoproteins.

HDL is called the "good" cholesterol because it carries cholesterol from other parts of your body back to your liver. Your liver then removes the cholesterol from your body.

 

Hence, when it comes to cholesterol it is better to have more HDL.

Report Error

View Answer Report Error Discuss

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

1 2143
Q:

Dakshayani, which is in news recently, is a/an

A) Plant B) Animal
C) River D) Train
 
Answer & Explanation Answer: B) Animal

Explanation:

Dakshayani, which is in news recently, is an Animal (She - elephant).

Report Error

View Answer Report Error Discuss

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

1 2143
Q:

The magnitude of buoyant force depends on the .......... of the fluid.

A) mass B) temperature
C) volume D) density
 
Answer & Explanation Answer: D) density

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , GATE

1 2142
Q:

The country which celebrates Independence day on 15th August, apart from India, is

Answer

South Korea

Report Error

View answer Workspace Report Error Discuss

Subject: World History

0 2142
Q:

Which of the following cells produce antibodies?

A) Plasma cells B) Monocytes
C) Mast cells D) Neutrophils
 
Answer & Explanation Answer: A) Plasma cells

Explanation:
Report Error

View Answer Report Error Discuss

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

4 2142
Q:

Who was the town-planner of Chandigarh?

A) Le Corbusier B) Christopher Wren
C) Charles Correa D) Edward Lutyens
 
Answer & Explanation Answer: A) Le Corbusier

Explanation:

Le Corbusier was the town-planner of Chandigarh.

Who_was_the_town-planner_of_Chandigarh1551090897.jpg image

He was a Swiss-French architect, designer, painter, urban planner, writer, and one of the pioneers of what is now called modern architecture.

 

Report Error

View Answer Report Error Discuss

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

1 2142
Q:

The question below consists of a set of labelled sentences. Out of the four options given, select the most logical order of the sentences to form a coherent paragraph.

P: He raised his voice against idol-worship.
Q: People are generally very open and accept social changes with a positive attitude.
R: Swami Dayanand Saraswati is remembered with reverence and affection among the social reformers of the nineteenth century.
S: India is a country which respects spiritualism much more than materialism.

A) QRSP B) PRSQ
C) RSPQ D) SQRP
 
Answer & Explanation Answer: D) SQRP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2142