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:

Speeding is a factor in _% of all fatal accidents?

A) 10 B) 22
C) 30 D) 55
 
Answer & Explanation Answer: C) 30

Explanation:

In all the fatal accidents, 30% of them are with speeding factor.

Report Error

View Answer Report Error Discuss

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

0 2143
Q:

Who is the committee head of the merger of the public sector banks?

A) Raghuram Rajan  B) Bimal Jalan 
C) Arun Jaitley D) YV Reddy
 
Answer & Explanation Answer: C) Arun Jaitley

Explanation:

The finance minister of india, Mr arun jaitley is the committee head of the merger of the public sector banks.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT

0 2142
Q:

A solution developer needs to configure the HTTP listener of an Integration Server on a Linux Server.

Which operating system privileges does the developer need to modify Integration node
properties and properties of integration node resources?

A) root user B) mqm
C) mqbrks D) mqm and mqbrks
 
Answer & Explanation Answer: A) root user

Explanation:
Report Error

View Answer Report Error Discuss

14 2142
Q:

In the following question, the sentence given with blank to be filled in with an appropriate word. Select the correct alternative out of the four and indicate it by selecting the appropriate option.
 
She does not agree, and ______ does Anita

A)

also

B)

even

C)

neither

D)

so

 
Answer & Explanation Answer: C)

neither



Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: TOEFL , GRE , CAT , Bank Exams
Job Role: Bank PO , Bank Clerk

0 2142
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 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:

Which country shares the longest border with China?

A) India B) Russia
C) Mongolia D) Kazakhstan
 
Answer & Explanation Answer: C) Mongolia

Explanation:

China shares land borders with 14 different countries, the longest being with Mongolia followed by Russia and then India.

Report Error

View Answer Report Error Discuss

2 2142