Questions

Q:

Africa is seperated from Europe by

A) Red Sea B) Mediterranean Sea
C) Atlantic Ocean D) Persian Gulf
 
Answer & Explanation Answer: B) Mediterranean Sea

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

17 5139
Q:

Point out the error, if any, in the following program.

#include "stdarg.h"

main()

{

     display ( 4, 12.5, 13.5, 14.5, 44.3);

}

display(int num, ...)

{

       float c; int j;

        va_list ptr;

        va_start (ptr, num);

        for ( j = 1; j <= num; j++)

        {

            c = va_arg ( ptr, float );

            printf ("\n%f", c);

         }

}

Answer

While extracting a float argument using va_arg we should have useed 


c = va_arg (ptr, double)

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 5137
Q:

Which of the statements given below are correct?

A) Elina Svitolina won the Tennis 2017 Italian Open Women's Singles.

B) Lewis Hamilton won the Formula One 2017 Italian Grand Prix.

C) In 2017, James Harden played for the NBA team Milwaukee Bucks.

 

A) Both A and C B) Both B and C
C) Both A and B D) None of these
 
Answer & Explanation Answer: C) Both A and B

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 5133
Q:

 What SQL command will allow you to change the table STUDENT to add the constraint named GradeCheck that states that the values of the Grade column must be greater than 0?

A) ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0); B) ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);
C) ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0); D) None of the above is correct.
 
Answer & Explanation Answer: C) ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 5133
Q:

Why was the Simon Commission boycotted by Indians?

Answer

Because it was made up of Britishers.

Report Error

View answer Workspace Report Error Discuss

Subject: World History

18 5132
Q:

Who is the author of the book "Flaming Tresses of Draupadi" ?

A) Smriti Irani B) Veerappa Moily
C) Mallikarjun Kharge D) None
 
Answer & Explanation Answer: B) Veerappa Moily

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

9 5131
Q:

Leverage enables currency traders to do which of the following?

 

A) Reduce the risk of losing money   B) Force foreign governments to print more money
C) Make large currency trades using small amounts of money D)  Buy currencies before they are available to the public
 
Answer & Explanation Answer: C) Make large currency trades using small amounts of money

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

0 5131
Q:

What is the capital of Telangana?

A) Warangal B) Hyderabad
C) Nizamabad D) Adilabad
 
Answer & Explanation Answer: B) Hyderabad

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

13 5129