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:

India has longest international border with which country?

A) Bhutan B) Nepal
C) Bangladesh D) Pakistan
 
Answer & Explanation Answer: C) Bangladesh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

1 2143
Q:

Which is the highest peak in Andaman and Nicobar islands?

A) Mount Koya B) Mount Diavolo
C) Saddle Peak D) Mount Thuiller
 
Answer & Explanation Answer: C) Saddle Peak

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

2 2143
Q:

A molecule of dna is a polymer composed of

A) Amines B) Nuceotides
C) Chromosomes D) Fattyacids
 
Answer & Explanation Answer: B) Nuceotides

Explanation:

A molecule of DNA is a polymer composed of nucleotides. Each nucleotide is composed of a nitrogenous base, a five-carbon sugar (deoxyribose), and a phosphate group.

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:

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.

 

He said to Raina,"I cannot marry you now but I shall surely do so next year."

 

A) He told Raina that he cannot marry her now but would surely do so the following year. B) He told her that he could not marry Raina then but would surely marry her next year.
C) He told Raina that he could not marry her then but he would surely do so the following year. D) He told Raina that he would not marry her then but would surely do so the next year.
 
Answer & Explanation Answer: C) He told Raina that he could not marry her then but he would surely do so the following year.

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2142
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.

Another marvel on the far side of the lake was a little farm that felt like a secret in the city. Some of the gaunt Karnataka labourers even looked away when children came to dig and eat. But the greatest pleasure, this side of the lake, was the jamun tree. A few months back, Kalu and Sunil had a feast in the branches, shaking down a few berries for Mirchi.

That's when they came to know the second-coolest thing about the jamun tree : There were parrots nesting in it. Since then, some other road boys had been capturing the parrots one by one to sell at the Marol Market, but Sunil had brought Kalu around to the belief that the birds should be left as they were. Sunil listened for their squawks each morning, to make sure they hadn't been abducted in the night.

Kalu's expertise was in the recycling bins inside airline catering compounds. Private waste collectors emptied these dumpsters on a regular basis, but Kalu had mastered the trash truck's schedules. The night before pickup, Kalu would climb over the barbed-wire fences and raid the overflowing bins.

Kalu's routine had become known by the local police, however. He kept getting caught, until some constables proposed a different arrangement. Kalu could keep his metal scrap if he'd pass on information he picked up on the road about local drug dealers.


What was the second coolest thing about the Jamun tree?

A) Shaking down the berries for Mirchi B) There were parrots nesting in the tree
C) Selling parrots in the Marol Market D) Capturing parrots in the tree
 
Answer & Explanation Answer: B) There were parrots nesting in the tree

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2142
Q:

Which of the following describes computer animation?

A) a sequential art, which emerged in the late nineteenth century to attract more readers to newspapers B) the art of using 2-D and 3-D computer graphics to create moving images and special effects in films
C) a sister art of video games, which involves interaction with a user interface to generate visual feedback D) None of the above
 
Answer & Explanation Answer: B) the art of using 2-D and 3-D computer graphics to create moving images and special effects in films

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

1 2142
Q:

Who among the following pioneered Khilafat Movement?

A) Mahatma Gandhi B) Ali Brothers
C) M.A. Jinnah D) Sir Syed Ahmed Khan
 
Answer & Explanation Answer: B) Ali Brothers

Explanation:

The Khilafat movement, also known as the Indian Muslim movement (1919–24), was a pan-Islamist political protest campaign launched by Muslims of British India led by Shaukat Ali, Mohammad Ali Jauhar and Abul Kalam Azad.

Report Error

View Answer Report Error Discuss

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

5 2142