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

Which layer of the earth is the hottest ?

A) Inner Core B) Mantle
C) Crust D) Outer Core
 
Answer & Explanation Answer: A) Inner Core

Explanation:

The hottest layer of the Earth is its innermost layer. The inner core Quite literally the center of the Earth, the inner core is solid and can get to estimate temperatures over 9,000 degrees Fahrenheit

Report Error

View Answer Report Error Discuss

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

0 2122
Q:

Arrange the given words in the sequence in which they occur in the dictionary

1. Sloven
2. Slur
3. Smack
4. Slogan
5. Sluggy

A) 25143 B) 32541
C) 12453 D) 41523
 
Answer & Explanation Answer: D) 41523

Explanation:
Report Error

View Answer Report Error Discuss

0 2122
Q:

The force exerted on an object is 200 N and its mass is 100 kg. Find the acceleration of the object.

A) 2 m/s B) 2 m
C) 2 m/sq.s D) 2 s
 
Answer & Explanation Answer: C) 2 m/sq.s

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2122
Q:

Which state become the 1st Indian state to implement 10% Quota for EWS in General Category?

A) Telangana B) Uttar Pradesh
C) Gujarat D) Assam
 
Answer & Explanation Answer: C) Gujarat

Explanation:

Gujarat state become the 1st Indian state to implement 10% Quota for EWS in General Category.

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 2121
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 express the same sentence in Indirect/Direct speech.

Anil says, "I am glad to be here this morning"

A) Anil says he is glad to be there that morning. B) Anil says that he is glad to be there that morning.
C) Anil was saying that he was glad to be there this morning. D) Anil says that he was glad to be here this morning.
 
Answer & Explanation Answer: B) Anil says that he is glad to be there that morning.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 2121
Q:

Through which light cannot pass?

A) Notebook paper B) Water
C) Book D) Sun glasses
 
Answer & Explanation Answer: C) Book

Explanation:

The objects through which light cannot pass are called as Opaque objects. Some objects allow some light to pass through them and are called as Translucent objects. The objects which allow all the light to pass through them are called as Transparent objects.

 

Here in the given options Book is an example of opaque object as it does not allow light to pass through it. Water is transparent object and notebook paper and sun glasses are examples of translucent objects.

Report Error

View Answer Report Error Discuss

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

2 2120