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

Find the odd word/letters/number from the given alternatives.

(A) BCE (B) WXZ (C) MNP (D) GHK

A) A B) B
C) C D) D
 
Answer & Explanation Answer: D) D

Explanation:
Report Error

View Answer Report Error Discuss

0 19801
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 19771
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 19766
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 19756
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 19756
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 19750
Q:

Who is the author of "Unhappy India"?

A) Vikram Seth B) Lala Lajpath Roy
C) Chethan Bhagath D) None
 
Answer & Explanation Answer: B) Lala Lajpath Roy

Explanation:

Lala Lajpath Roy is the author of Unhappy India

Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

91 19747