Questions

Q:

Point out the error, ifany, in the followingb code?

typedef struct

{

     int data;

     NODEPTR link;

} *NODEPTR;

 

Answer

A typedef defines a new name for a type, and in simpler cases like the one shown below you can define a new structure type and a typedef for it at the same time.


typedef struct


{


    char name[20];


    int age;


} emp;


However, in the structure defined in this question, there is an error because a typedef declaration cannot be used until it is defined. In the given code fragment the typedef declaration is not yet defined at he point where the link field is declared.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2319
Q:

Extensive plantation of trees is called

A) Deforestation B) Eforestation
C) Afforestation D) Agroforestry
 
Answer & Explanation Answer: C) Afforestation

Explanation:

Extensive plantation of trees to increase plants count is called Afforestation.

Report Error

View Answer Report Error Discuss

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

8 2319
Q:

Which of the following is a feature of ghrelin?

A) It stimulates appetite and energy storage B) It is released in high amounts from adipocytes during periods of excess energy intake
C) The blood level in the fasting state correlates directly with body weight D) It is a metabolic antagonist of leptin
 
Answer & Explanation Answer: A) It stimulates appetite and energy storage

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2319
Q:

Out of the four alternatives, choose the one which can be substituted for the given words/sentences and click the button corresponding to it.

A place of shelter for ships

A) Harbour B) Helipad
C) Port D) Barrack
 
Answer & Explanation Answer: A) Harbour

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2319
Q:

Which state decided to make way for electric cars to promote non-polluting vehicles?

A) Andhra Pradesh B) Delhi
C) Telangana D) Uttar Pradesh
 
Answer & Explanation Answer: C) Telangana

Explanation:

The southern state Telangana decided to make way for electric cars to promote non-polluting vehicles.

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

5 2319
Q:

Government is to set to introduce new Rs. 100 coin with image of former PM

A) Jawaharlal Nehru B) Indhira Gandhi
C) Atal Bihari Vajpayee D) Rajiv Gandhi
 
Answer & Explanation Answer: C) Atal Bihari Vajpayee

Explanation:

Government is to set to introduce new Rs. 100 coin with image of former Prime Minister Atal Bihari Vajpayee.

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

1 2319
Q:

The impression of an image persists on the retina for about _________ of a second.

A) 1/10th B) 1/8th
C) 1/16th D) 1/5th
 
Answer & Explanation Answer: C) 1/16th

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams , CAT

1 2319
Q:

Which of these instruments is used to measure the wind speed?

A) Anemometer B) Inclinometer
C) Fathometer D) Calorimeter
 
Answer & Explanation Answer: A) Anemometer

Explanation:

Anemometer is the instrument that is used for measuring the speed of wind or any gas currents.

Which_of_these_instruments_is_used_to_measure_the_wind_speed1560165843.jpg image

Report Error

View Answer Report Error Discuss

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

3 2318