Questions

Q:

Output of the Program :

main()

{

int i = 1;

while (i <= 5)

    {

         printf( "%d", i );

         if (i > 2) goto here;

         i++;

     }

}

fun()

{

here : printf( "PP" );

}

A) 1 B) 2
C) Compilation error D) Exception occurs
 
Answer & Explanation Answer: C) Compilation error

Explanation:

Compiler error: Undefined label 'here' in function main

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 23829
Q:

The British Governor General and Viceroy who served for the longest period in India was

A) Lord Curzon B) Lord Lrwin
C) Lord Dalhousie D) Lord Linlithgow
 
Answer & Explanation Answer: D) Lord Linlithgow

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

62 23808
Q:

Markup tags tell the web browser

A) How to display the file B) How to organise the page
C) How to display message box on page D) None of the above
 
Answer & Explanation Answer: A) How to display the file

Explanation:

Markup tags tell the web browser how to display the file.

Report Error

View Answer Report Error Discuss

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

34 23804
Q:

What would be the output of the following program ?

main() 

{

       unsigned  int a = oxffff;

        ~a;

        printf ("%x", a);

}

A) ffff B) 0000
C) 00ff D) None of the above
 
Answer & Explanation Answer: A) ffff

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

0 23797
Q:

What is the oxidation number of sulfur in H2S?

A) 2 B) -2
C) 1 D) -1
 
Answer & Explanation Answer: B) -2

Explanation:

The sum of the oxidation numbers in a compound must equal zero. In the compound hydrogen sulfide, H2S, the two hydrogen atoms have an oxidation number of +1, for a total of +2.

 What_is_the_oxidation_number_of_sulfur_in_H2S1556279499.jpg image

Therefore, the oxidation number of sulfur in the compound is -2, and the sum of the oxidation numbers is 0.

Report Error

View Answer Report Error Discuss

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

31 23760
Q:

Which of the statements given below are correct?

A) Alexander Norén won the Golf 2017 BMW PGA Championship.

B) Canada hosted the Table Tennis 2017 ITTF Women's World Cup.

C) In 2018 IPL auctions, Rajasthan Royals retained Steve Smith.

 

A) Only C B) B and C
C) A and B D) A, B and C
 
Answer & Explanation Answer: D) A, B and C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 23713
Q:

Which of the statements given below are correct?

A) Lewis Hamilton won the Formula One 2017 United States Grand Prix.

B) Sebastian Vettel won the Formula One 2017 Singapore Grand Prix.

C) Garbine Muguruza won the Tennis 2017 French Open Women's Singles.

A) Only A B) Only B
C) A and C D) A, B and C
 
Answer & Explanation Answer: A) Only A

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

1 23659
Q:

Which of the following software applications would be the most appropriate for performing numerical and statistical calculations?

A) Database B) Document Processor
C) Graphic Package D) Spread Sheet
 
Answer & Explanation Answer: D) Spread Sheet

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer

76 23630