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 2860
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 2859
Q:

Lala lajapathi rai is the author of the book

A) India Divided B) Hind Swaraj
C) Unhappy India D) Mother India
 
Answer & Explanation Answer: C) Unhappy India

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

1 2858
Q:

Titan industries has rolled out its own Swiss made premium watches in India under the brand Name of 

A) Insignia B) Xylys
C) Bvlgeri D) Titan Sens
 
Answer & Explanation Answer: B) Xylys

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

5 2858
Q:

Fouaad Mirza is related to which sports?

A) Equestrian B) Long jump
C) Short throw D) Shooting
 
Answer & Explanation Answer: A) Equestrian

Explanation:

Fouaad Mirza is related to the game Equestrian. His show wins first medal to India in equestrian game. He clinched silver medal in the individual event of equestrian game in the Asian games 2018. 

 

Fouaad Mirza belongs to Bangaluru.

Report Error

View Answer Report Error Discuss

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

1 2857
Q:

Which of the following airport has been declared as the "Best Airport in India and Central Asia" in Skytrax World Airport Awards ?

A) Rajiv Gandhi International Airport, Hyderabad B) Indira Gandhi International Airport, New Delhi
C) Kuala Lumpur International Airport, Malaysia D) Goa International Airport, Goa
 
Answer & Explanation Answer: B) Indira Gandhi International Airport, New Delhi

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2856
Q:

Which statement best describes an igneous intrusion?

A) Igneous intrusion for when ice crystals splash into lava B) Magma is injected into surrounding rock forming an igneous intrusive
C) Magma is exported to an open area and forms iron D) Magma explodes to the surface and forms a smooth outer layer of rock
 
Answer & Explanation Answer: B) Magma is injected into surrounding rock forming an igneous intrusive

Explanation:

Magma is injected into surrounding rock forming an igneous intrusive.

 

Actually it is a plutonic formation in which magma present beneath Earth surface deforms the shape of rocks present above it
 

Report Error

View Answer Report Error Discuss

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

1 2856
Q:

The transfer of data from one application to another in a computer system is known as

A) Dynamic Data Exchange B) Dodgy Data Exchange
C) Dogmatic Data Exchange D) Dynamic Disk Exchange
 
Answer & Explanation Answer: A) Dynamic Data Exchange

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

2 2856