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

The Congress of Vienna led to revolts in France because

A) People want absolute Monarchy B) To prevent one ruler to take too much power
C) People do not want absolute Monarchy D) None of the above
 
Answer & Explanation Answer: C) People do not want absolute Monarchy

Explanation:

The Congress of Vienna in 1814 to 1815 led to revolts in France because many people do not want absolute Monarchy.

Report Error

View Answer Report Error Discuss

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

0 2207
Q:

Which is not a benefit of burning garbage for fuel?

A) It creates more space for farming B) It produces methane that can be used like natural gas
C) It partially addresses the solid waste disposal problem D) It provides biomass energy
 
Answer & Explanation Answer: A) It creates more space for farming

Explanation:

Garbage burning is common in rural areas, but it poses health concerns and hazards to the environment. It especially affects people with sensitive respiratory systems, as well as children and the elderly.

 

Benefits ::

  • It produces methane that can be used like natural gas.
  • It partially addresses the solid waste disposal problem.
  • It provides biomass energy.

 

Hence, it creates more space for farming is not the benefit of the burning garbage.

Report Error

View Answer Report Error Discuss

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

2 2206
Q:

What is the percentage of oxygen in Al2(SO4)3?

A) 57.7% B) 56.1%
C) 53.1% D) 52.6%
 
Answer & Explanation Answer: B) 56.1%

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

1 2206
Q:

The criminal was __________ lest he should escape.

A) fetid B) fettered
C) fettled D) feted
 
Answer & Explanation Answer: B) fettered

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

1 2206
Q:

The world's most liveable city 2018?

A) Melbourne B) Damascus
C) Dhaka D) Vienna
 
Answer & Explanation Answer: D) Vienna

Explanation:

Vienna has become the world's most pleasant city to live in by topping the Global Liveability Index of the Economist Intelligence Unit by dislodging Melbourne, the Austrian capital.

 

While Damascus retained the last place and Dhaka, Bangladesh's capital was in second last place in the annual survey examined 140 metropolitan cities.

Report Error

View Answer Report Error Discuss

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

2 2205
Q:

Which works are protected by copyright?

A) Ideas B) Architectural works
C) Procedures D) Names
 
Answer & Explanation Answer: B) Architectural works

Explanation:

 

 Copyright law safeguards the expression of thoughts and facts, not simply the thoughts and actualities. Thoughts are fair diversion for everybody to express in their own words.

 

Works that are protected by copyright are ::

 

Literary works,

 

Musical works, including any accompanying words

 

Dramatic works, including any accompanying music

 

Pantomimes and choreographic works

 

Pictorial, graphic, and sculptural works

 

Motion pictures and other audiovisual works

 

Sound recordings

 

Architectural works.

Report Error

View Answer Report Error Discuss

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

3 2205
Q:

Where is the headquarters of National Centre for Good Governance?

A) Hyderabad B) Kolkata
C) Ahmedabad D) New Delhi
 
Answer & Explanation Answer: D) New Delhi

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2205