Questions

Q:

Would the following program compile?

main()

{

    int a = 10, *j;

    void *k;

    J = k = &a;

    J++;

    k++;

   printf ("\n%u %u", j, k);

}

Answer

An error would be reported in the statement k++ since arithmetic on void pointers is not permitted unless the void pointer is appropriately typecasted.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2650
Q:

Refractive Index of glass with respect to water is

A) 4/3 B) 9/8
C) 2/3 D) 8/9
 
Answer & Explanation Answer: D) 8/9

Explanation:

Refractive Index of glass with respect to water can be calculated by 

(Refractive Index of glass with respect to air) × (1/Refractive Index of water with respect to air)

 

We know that,

Refractive Index of glass with respect to air = 4/3

Refractive index of water with respect to air = 3/2

 

Hence, Refractive Index of glass with respect to water = (4/3) x (2/3) = 8/9.

Report Error

View Answer Report Error Discuss

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

4 2649
Q:

Chemically marble is known as

A) Calcareous rock B) Siliceous Rock
C) Argillaceous Rock D) Metamorphic Rock
 
Answer & Explanation Answer: A) Calcareous rock

Explanation:

Chemically marble is known as Calcareous rock as it is composed of carbonate minerals like calcite or dolomite.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

3 2648
Q:

Which is false concerning the use of the voting machine?

A) It does away with the need for numerous officials to count ballots. B) Fraud is nearly impossible.
C) It assures absolute secrecy. D) It was invented in 1898.
 
Answer & Explanation Answer: D) It was invented in 1898.

Explanation:

A voting machine is a machine used to register and tabulate votes.

 

In the given options, It was invented in 1898 is the false statement as it was actually invented in 1875 with some faults in it.

Report Error

View Answer Report Error Discuss

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

2 2647
Q:

Insert command falls in which sub-language of SQL ?

A) DCL B) DQL
C) DML D) DDL
 
Answer & Explanation Answer: C) DML

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Oracle Certification

5 2647
Q:

In a computer game, a builder can build a wall in ten hours while a destroyer can demolish such a wall completely in fourteen hours. Both, the builder and the destroyer were initially set to work together on level ground. But after 7 hours the destroyer was taken out. What was the total time (in hrs) taken to build the wall ?

A) 17 B) 15
C) 24 D) 35
 
Answer & Explanation Answer: B) 15

Explanation:
Report Error

View Answer Report Error Discuss

5 2647
Q:

How many Nucleotides make up a Codon?

A) 3 B) 4
C) 5 D) 6
 
Answer & Explanation Answer: A) 3

Explanation:

3 Nucleotides make up a Codon. 

The nucleotide triplet that encodes an amino acid is called a codon.

Each group of three nucleotides encodes one amino acid.

Report Error

View Answer Report Error Discuss

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

6 2647
Q:

Which among the following is an International river

A) Brahmaputra B) Cauvery
C) Krishna D) Narmada
 
Answer & Explanation Answer: A) Brahmaputra

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

2 2646