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

You cannot link excel worksheet data to a word document

A) With a hyperlink B) With the copy and paste buttons on the standard toolbar
C) With the right drag method D) With the copy and paste special commands
 
Answer & Explanation Answer: B) With the copy and paste buttons on the standard toolbar

Explanation:

You cannot link excel worksheet data to a word document With the copy and paste buttons on the standard toolbar.

Report Error

View Answer Report Error Discuss

2 2314
Q:

In the biosphere living beings are inter-related and interdependent on each other for survival. This life supporting system is known as the __________.

A) Ecosystem B) Mountain range
C) Forest D) Atmosphere
 
Answer & Explanation Answer: A) Ecosystem

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

1 2314
Q:

The right to vote in India is in an article of

A) 370 B) 368
C) 356 D) 326
 
Answer & Explanation Answer: D) 326

Explanation:

In India, the right to vote is provided by the Constitution and the Representation of People's Act, 1951, subject to certain disqualifications. Article 326 of the Constitution guarantees the right to vote to every citizen above the age of 18.

Report Error

View Answer Report Error Discuss

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

1 2314
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.

The Alaska pipeline starts at the frozen edge of the Arctic Ocean. It stretches southward across the largest and northernmost state in the United States, ending at a remote ice-free seaport village nearly 800 miles from where it begins. It is massive in size and extremely complicated to operate. The steel pipe crosses windswept plains and endless miles of delicate tundra that tops the frozen ground. It weaves through crooked canyons, climbs sheer mountains, plunges over rocky crags, makes its way through thick forests, and passes over or under hundreds of rivers and streams. The pipe is 4 feet in diameter, and up to 2 million barrels (or 84 million gallons) of crude oil can be pumped through it daily. Resting on H-shaped steel racks called "bents", long sections of the pipeline follow a zigzag course high above the frozen earth. Other long sections drop out of sight beneath spongy or rocky ground and return to the surface later on. The pattern of the pipeline's up-and-down route is determined by the often harsh demands of the arctic and subarctic climate, the tortuous lay of the land, and the varied compositions of soil, rock, or permafrost (permanently frozen ground). A little more than half of the pipeline is elevated above the ground. The remainder is buried anywhere from 3 to 12 feet, depending largely upon the type of terrain and the properties of the soil. One of the largest in the world, the pipeline cost approximately $8 billion and is by far the biggest and most expensive construction project ever undertaken by private industry. In fact, no single business could raise that much money, so 8 major oil companies formed a consortium in order to share the costs. Each company controlled oil rights to particular shares of land in the oil fields and paid into the pipeline-construction fund according to the size of its holdings. Today, despite enormous problems of climate, supply shortage, equipment breakdowns, labour disagreements, treacherous terrain, a certain amount of mismanagement, and even theft, the Alaska pipeline has been completed and is operating.


The Alaskan pipeline ends

A) north of Alaska B) at a seaport village
C) after passing through canyons and rivers D) at a tundra covered village
 
Answer & Explanation Answer: B) at a seaport village

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2314
Q:

Which of the following is part of the axial skeleton?

A) Thigh bone B) Shoulder bones
C) Vertebral column D) Foot bones
 
Answer & Explanation Answer: C) Vertebral column

Explanation:

The axial skeleton is the part of the skeleton that consists of the bones of the head and trunk of a vertebrate. In the human skeleton, it consists of 80 bones and is composed of six parts; the skull bones, the ossicles of the middle ear, the hyoid bone, the rib cage, sternum and the vertebral column.

 

Bones of shoulder, thigh and foot are the part of appendicular skeleton. 

  

Hence, Vertebral column is the part of axial skeleton.

Report Error

View Answer Report Error Discuss

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

3 2313
Q:

1 Mole of CO2 mass is

A) 32 gms B) 44 gms
C) 16 gms D) 12 gms
 
Answer & Explanation Answer: B) 44 gms

Explanation:

We know that,

Mass of Carbon = 12 gms

Mass of Oxygen = 16 gms = O2 => 16 * 2 = 32 gms

=> Mass of 1 mole of CO2 = 12 + 32 = 44 gms.

Report Error

View Answer Report Error Discuss

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

15 2313
Q:

Which equation represents a neutralization reaction?

A) 2Al(OH)3(s) ---> Al2O3(s) + 3H2O(l) B) H2SO4(aq) + 2NaOH(aq) ---> Na2SO4(aq) + 2H2O(l)
C) 2H2(g) + O2(g) ---> 2H2O(l) D) H2CO3(aq) ---> CO2(g) + H2O(l)
 
Answer & Explanation Answer: B) H2SO4(aq) + 2NaOH(aq) ---> Na2SO4(aq) + 2H2O(l)

Explanation:

Here in the option B) H2SO4 - Sulfuric acid is reacting with sodium hydroxide (NaOH), a base to produce a salt (Sodium Sulfate), and water (H2O). This is characteristic of of acid-base neutralization reactions.

Report Error

View Answer Report Error Discuss

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

1 2312