Questions

Q:

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

main()

{

    int ( *p )() = fun;

    ( *P ) ();

}

fun ()

{

    Printf ( "\nLoud and clear" );

Answer

Here we are initalising the function pointer p to the address of the function fun(). But during this initialisation the function has not been defined. Hence an error.


To eliminate this error add the prototype of the fun() before declaration of p, as shown below:


extern int fun();    or simply  int fun();

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2192
Q:

Can You Guess The Missing Numbers In The Given Math Puzzle?

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

Explanation:

Let the missing numbers be x, y, a and b

x + y = 8 ---- (1)
a - b = 6 ---- (2)
x + a = 13 --- (3)
y + b = 8 ---- (4)

2x + a + y = 21 --- From (1 & 3)
a + y = 14 ----  From (2 & 4)

Substitute (2 & 4) in (1 & 3)

2x + 14 = 21
2x = 7
x = 3.5

From (1) ---> 3.5 + y = 8
=> y = 8 - 3.5 = 4.5

a + y = 14 => a = 14 - y = 14 - 4.5 => a = 9.5
From (4) ---- y + b = 8 => b = 8 - y = 8 - 4.5 = 3.5

Hence,
x = 3.5
y = 4.5
a = 9.5
b = 3.5

Report Error

View Answer Report Error Discuss

Filed Under: Math Puzzles
Exam Prep: CAT , Bank Exams

14 2192
Q:

What is the precise time of earth rotation on axis?

Answer

23 hrs, 56 minutes and 4.9 seconds

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

0 2192
Q:

Which of the following equals one atomic mass unit?

A) one-twelfth the mass of one carbon-12 atom B) the mass of one electron
C) one-sixth the mass of one helium-4 atom D) the mass of one carbon-12 atom
 
Answer & Explanation Answer: A) one-twelfth the mass of one carbon-12 atom

Explanation:

One atomic mass unit (AMU) is equal to the one-twelfth the mass of one carbon-12 atom.

Report Error

View Answer Report Error Discuss

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

1 2192
Q:

The PCl5 molecule has trigonal bipyramidal structure. Therefore,the hybridization of p orbitals should be

A) sp2 B) sp3
C) dsp2 D) dsp3
 
Answer & Explanation Answer: D) dsp3

Explanation:

The P atom needs five orbitals to form the five P-Cl bonds. It has a 3s and three 3p orbitals, so it must use one of its 3d orbitals to form the fifth bond. These orbitals are hybridized to form five sp3d orbitals that just happen to point in the right directions to form a trigonal bipyramid.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 2192
Q:

Oxygenated blood flows through which vessel?

A) Pulmonary Veins B) Pulmonary Arteries
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) Pulmonary Veins

Explanation:

The oxygenated blood  flows through pulmonary veins then leaves the lungs, which return it to the left heart, completing the pulmonary cycle.

Report Error

View Answer Report Error Discuss

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

7 2192
Q:

Which city was adjudged as India's Cleanest City for the third consecutive year as per Swachh Survekshan 2019?

A) Indore B) Mysuru
C) Ambikapur D) Bhopal
 
Answer & Explanation Answer: A) Indore

Explanation:

Indore city was adjudged as India's Cleanest City for the third consecutive year as per Swachh Survekshan 2019.

Report Error

View Answer Report Error Discuss

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

1 2192
Q:

In the following question, some part of the sentence may have errors. Find out which part of the sentence has an error and select the appropriate option. If a sentence is free from error, select 'No Error'.

Akshay kumar being a (1)/ good actor he is (2)/ presented with the National Award. (3)/ No Error (4)/

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 2192