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

" World Tuberculosis Day " is observed on ?

A) 24th March B) 22nd March
C) 23rd March D) 21st March
 
Answer & Explanation Answer: A) 24th March

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: Bank Exams , CAT
Job Role: Bank PO

3 2846
Q:

Toricelli invented

A) Automobile B) Barometer
C) Stethoscope D) None of these
 
Answer & Explanation Answer: B) Barometer

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

1 2845
Q:

What is logical link control?

Answer

One of two sublayers of the data link layer of OSI reference model, as defined by the IEEE 802 standard. This sublayer is responsible for maintaining the link between computers when they are sending data across the physical network connection

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

0 2844
Q:

ATP is a compound that is synthesized when

A) digestive enzymes break amino acids into smaller pieces B) energy stored in nitrogen is released froming amino acids
C) energy is stored in chemical bonds is released during cellular respiration D) chemical bonds between carbon atoms are formed by during photo synthesis
 
Answer & Explanation Answer: C) energy is stored in chemical bonds is released during cellular respiration

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE
Job Role: Analyst

2 2843
Q:

Hard Drive capacity is measured in

A) Newton B) GB
C) THz D) Gwallior
 
Answer & Explanation Answer: B) GB

Explanation:

Hard drive or disc is used to store the users information and its capacity is measured in Giga Bytes (GB) and Tera Bytes (TB).

Report Error

View Answer Report Error Discuss

9 2842
Q:

The first feature film produced in India was

A) Hatimtai B) Alamm Ara
C) Pundalik D) Raja Harishchandra
 
Answer & Explanation Answer: B) Alamm Ara

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

1 2841
Q:

Can any one of you give me the right answer for this riddle?

 

Answer

The answer is letter ‘f’.


 


1 year = 12 months (February = 1 `f`, comes only once in the spelling of all the months)


1 month = 4 weeks (first, fourth = 2 f’s, comes twice in a month)


1 week = 7 days (first, fourth, fifth = 4 f`s, comes 4 times in a week)


1 day = 24 hours (four, five, fourteen, fifteen, twenty-four= 6 f’s, comes 6 times in a day


 

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: Bank Exams

58 2841