Questions

Q:

Swap two variables without using third variable.

Answer

#include<stdio.h>
int main(){
    int a=5,b=10;
    a=b+a;
    b=a-b;
    a=a-b;
    printf("a= %d  b=  %d",a,b);
}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2080
Q:

In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

Answer

For load-time dynamic linking: Load module to be loaded is read into memory. Any reference to a target external module causes that module to be loaded and the references are updated to a relative address from the start base address of the application module.


With run-time dynamic loading: Some of the linking is postponed until actual reference during execution. Then the correct module is loaded and linked.

Report Error

View answer Workspace Report Error Discuss

0 2080
Q:

Light travels in a straight line (rectilinear propagation of light). This statement does hold if the medium of travel for light is

A) of variable refractive index B) made up of slabs of different refractive indices
C) homogeneous and transparent D) inhomogeneous and transparent
 
Answer & Explanation Answer: C) homogeneous and transparent

Explanation:

In vacuum and in homogeneous, transparent media, such as air, water, and glass, light moves in a straight line. When light encounters a boundary between two different transparent media, some light is reflected and some moves from the first into the second medium.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 2080
Q:

The federal government debt is equal to the

A) sum of past budget deficits minus the sum of past budget surpluses B) annual difference between federal government tax revenues and outlays
C) obligations of benefits from federal taxes and expenditures D) sum of all annual federal government outlays
 
Answer & Explanation Answer: A) sum of past budget deficits minus the sum of past budget surpluses

Explanation:

The federal government debt is equal to the sum of past budget deficits minus the sum of past budget surpluses.

Report Error

View Answer Report Error Discuss

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

1 2080
Q:

Which mosque is considered to be the style of Bengal style in Agra?

A) Nagina Masjid B) Moti Masjid  
C) Jama Masjid D) Badshahi Masjid
 
Answer & Explanation Answer: A) Nagina Masjid

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 2080
Q:

What happens to air when it is heated?

Answer

When heated any substance, the molecules move apart from each other. Alike in the air the molecules move apart from each other. We know that the warm air is lighter than the cool air. Since after heating air gets warmer, it floats up and the cool air comes down to occupy the warm air place.

Report Error

View answer Workspace Report Error Discuss

Subject: General Awareness Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

0 2079
Q:

The Cabinet Committee on Economic Affairs (CCEA) has approved expansion of "Beti Bachao Beti Padhao" yojana for a pan India coverage from 2017-2018 to _____.

 

A) 2018-2019 B)  2019-2020
C) 2020-2021 D) 2021-2022
 
Answer & Explanation Answer: B)  2019-2020

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

1 2079
Q:

Southerners who were for redemption wanted which of the following?

A) remove blacks from politics B) remove republicans from politics
C) hold political power D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

0 2079