Questions

Q:

What is the output of this C code?

        #include <stdio.h>
        void main()
        {
            int x = 97;
            char y = x;
            printf("%cn", y);
        }

A) a B) 97
C) Run time error D) None
 
Answer & Explanation Answer: A) a

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 19814
Q:

Which one of the following mixture is homogeneous

A) starch and sugar B) methanol and water
C) graphite and charcoal D) calcium carbonate and calcium bicarbonate
 
Answer & Explanation Answer: B) methanol and water

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

76 19810
Q:

If the following program (myprog) is run from the command line as 

myprog 1 2 3 

what would be the output?

main(int argc, char *argv[])

{

    int i, j = 0;

    for (i = 0; i < argc ; i++)

           j = j + atoi ( argv[i]);

    printf ("%d", j);

}

A) 123 B) 6
C) Error D) "123"
 
Answer & Explanation Answer: B) 6

Explanation:

When atoi() tries to convert argv[0] to a number it cannot do so (argv[0] being a file name) and hence returns a zero.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 19797
Q:

India is not a member of 

A) G - 20 B) G - 8
C) SAARC D) U.N
 
Answer & Explanation Answer: B) G - 8

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

38 19788
Q:

A relational database developer refers to a record as

A) a relation B) an attribute
C) a criteria D) a tuple
 
Answer & Explanation Answer: D) a tuple

Explanation:

A relational database developer refers to a record as a tuple.

Report Error

View Answer Report Error Discuss

41 19787
Q:

“Golden Land” is a popular sobriquet of which of the following country?

 

A) China B) Bhutan  
C) Myanmar D) Sri Lanka
 
Answer & Explanation Answer: C) Myanmar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: Bank Exams

1 19784
Q:

Proxy servers have two main purposes :

1. Improve Performance  (and)

2.  is  ______ ?

A) Transmit Request B) Decrease Requests
C) Increase Requests D) Filter Requests
 
Answer & Explanation Answer: D) Filter Requests

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

33 19772
Q:

Which of the statements given below are correct?

 

A) In 2017, Wes Morgan captained the Premier League team Leicester City.

B) In 2017, Suresh Raina captained the IPL team Gujarat Lions Squad.

C) In 2017, Sergio Agüero played for the Premier League team Liverpool.

 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

2 19756