Questions

Q:

Improve the following code using typedef.

struct node

{

      int data1;  float data2;

       struct node *left;

       struct node *right;

};

struct node *ptr;

ptr = (struct node *) malloc (sizeof (struct node) ); 

Answer

typedef struct node * treeptr


typedef struct node


{


         int data1;


         float data2;


         treeptr *left;


         treeptr *right;


}treenode;


treeptr ptr;


ptr = ( treeptr ) malloc ( sizeof ( treenode ) );

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3027
Q:

The world's oldest annual race has been held without a break since 1897. Name it.

Answer

The Boston Marathon

Report Error

View answer Workspace Report Error Discuss

1 3027
Q:

Software designed for a specific purpose is called as

A) System software B) Application software
C) Specific software D) None of the above
 
Answer & Explanation Answer: B) Application software

Explanation:

Software designed for a specific purpose is called as Application software.

Report Error

View Answer Report Error Discuss

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

5 3027
Q:

What do we call a change to the Constitution?

A) A Bill B) An Act
C) An Amendment D) An Interpret
 
Answer & Explanation Answer: C) An Amendment

Explanation:

A change to the Constitution is called as An Amendment.

An Amendment ::

An Amendment is ratified after two-thirds of the House and Senate approve of the proposal and send it to the states for a vote. That Convention can propose as many amendments as it deems necessary. Then, three-fourths of the states must affirm the proposed Amendment.

Report Error

View Answer Report Error Discuss

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

9 3026
Q:

There are five boxes in a cargo hold. The weight of the first box is 200 kg and the weight of the second box is 20% higher than the weight of the third box, whose weight is 25% higher than the first box’s weight. The fourth box at 350 kg is 30% lighter than the fifth box. Find the difference in the average weight of the four heaviest boxes and the four lightest boxes.

A) 51.5 kg B) 75 kg
C) 37.5 kg D) 112.5 kg
 
Answer & Explanation Answer: B) 75 kg

Explanation:
Report Error

View Answer Report Error Discuss

0 3026
Q:

Which of the following planets is known as Earth's twin?

A) Mars B) Saturn
C) Uranus D) Venus
 
Answer & Explanation Answer: D) Venus

Explanation:

Venus is known as earth's twin because of its closeness to the earth with respect to size, mass(weight) and density.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 3026
Q:

Which gas is used for the preparation of Soda water?

A) Carbon Dioxide B) Oxygen
C) Hydrogen D) Ammonia
 
Answer & Explanation Answer: A) Carbon Dioxide

Explanation:
Report Error

View Answer Report Error Discuss

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

2 3026
Q:

Charaka Samhita was a work on

A) Astrology B) Law
C) Medicine D) Religion
 
Answer & Explanation Answer: C) Medicine

Explanation:

Charaka Samhita was a work on Medicine.

Report Error

View Answer Report Error Discuss

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

4 3025