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

How many Filmfare awards has Shahrukh Khan won?

A) 5 B) 10
C) 15 D) 20
 
Answer & Explanation Answer: C) 15

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: Bank Exams

0 2148
Q:

Who was the Emperor of Russia during Russia revolution ?

A) Nicholas I B) Nicholas II
C) Alexander I D) Alexander II
 
Answer & Explanation Answer: B) Nicholas II

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2148
Q:

With YouTube Analytics, you can track metrics on

A) TrueView ad skip rates B) Playback locations
C) Cost-per-channel visit D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

With YouTube Analytics, you can track metrics on Playback locations. Playback locations gives you how many views your channel got and what videos they watched. 

 

With_YouTube_Analytics,_you_can_track_metrics_on1554273173.jpg image

 

With YouTube Analytics we can Find out who's watching, what they like to watch, and which videos could make you the most money.

Report Error

View Answer Report Error Discuss

4 2148
Q:

The EPA studies pollution and other

A) population hazards B) environmental health hazards
C) traffic hazards D) All of the above
 
Answer & Explanation Answer: B) environmental health hazards

Explanation:

The EPA stands for Environment Protection Agency in U.S which studies pollution and other environmental health hazards.

Report Error

View Answer Report Error Discuss

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

1 2147
Q:

Of which country was the religion 'Shintoism'?

A) Japan B) China
C) Arabs D) Turkey
 
Answer & Explanation Answer: A) Japan

Explanation:

The old religion of Japan is known as Shiltoism. This religion consists mainly of the worship of the forces of nature.

Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2147
Q:

How to clear Computer Motherboard CMOS password?

Answer

To clear the CMOS password you just remove the CMOS Battery or else you can also use a jumper settings.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 2147
Q:

The federalist papers were written by which future President?

A) John Adams B) Alexander Hamilton
C) James Madison D) John Jay
 
Answer & Explanation Answer: C) James Madison

Explanation:

James Madison was the one who became President in the future after writing The federalist papers. Alexander Hamilton, James Madison and John Jay were the three who wrote The federalist papers. 

Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

3 2147