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

'Sphinx' is associated with which of the following civilizations?

A) Egyptian Civilization B) Arab Civilization
C) Chinese Civilization D) Roman Civilization
 
Answer & Explanation Answer: A) Egyptian Civilization

Explanation:

The 'sphinx' is a mythological animal with the body of a lion and the head of man. Each Sphinx was carved out of a single solid stone.

Report Error

View Answer Report Error Discuss

Filed Under: World History

0 2905
Q:

The gas usually filled in the electric bulb is

A) Hydrogen B) Oxygen
C) Nitrogen D) Carbon dioxide
 
Answer & Explanation Answer: C) Nitrogen

Explanation:

The gas usually filled in the electric bulb is Nitrogen.

Report Error

View Answer Report Error Discuss

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

6 2905
Q:

Garden inside the Taj Mahal is known as _____.

A) Mughal Garden B) Taj Bageecha
C) Taj Mahal Garden D) Mahal Bageecha
 
Answer & Explanation Answer: A) Mughal Garden

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 2904
Q:

The persistence of learning over time most clearly depends on

A) memory B) visual encoding
C) chunking D) shallow processing
 
Answer & Explanation Answer: A) memory

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2904
Q:

Which animal adaptation happened before the others?

A) Reproduction on land B) Development of a colelom
C) Tissue development D) Deuterostome development
 
Answer & Explanation Answer: C) Tissue development

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk

10 2904
Q:

Which one of the following National Highways is the longest

A) NH-2 B) NH-7
C) NH-8 D) NH-15
 
Answer & Explanation Answer: B) NH-7

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

4 2904
Q:

The Budget proposals also seek to provide relief to salaried tax payers by allowing a standard deduction of what amount in place of the present exemption allowed for transport allowance and reimbursement of miscellaneous medical expenses?

A) Rs. 20,000 B) Rs. 40,000
C) Rs. 50,000 D) Rs. 80,000
 
Answer & Explanation Answer: B) Rs. 40,000

Explanation:

The standard deduction of Rs. 40,000 is seek to provide relief to salaried tax payers in the Budget proposals in place of the present exemption allowed for transport allowance and reimbursement of miscellaneous medical expenses.

Report Error

View Answer Report Error Discuss

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

0 2904