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

Which of the following is not a subatomic particle?

A) neutron B) ion
C) electron D) proton
 
Answer & Explanation Answer: B) ion

Explanation:

The particles which makes upon an atom are called subatomic particles. Electrons, protons and Neutrons that makes an atom are called subatomic particles.

Whereas,

An ion is an atom or group of atoms in which the number of electrons is different from the number of protons.

Report Error

View Answer Report Error Discuss

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

16 2878
Q:

Another word for 'special friend'

Answer

Special Friend - Stone.


 


Example ::


He is my special friend - He is my stone.

Report Error

View answer Workspace Report Error Discuss

Subject: English Exam Prep: Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

1 2878
Q:

Where can an advertiser change the location targeting of an ad?

Answer

Location targeting is set at the campaign level.

Report Error

View answer Workspace Report Error Discuss

8 2877
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 2877
Q:

Who has been elected as the first woman chairman of Indian Bank's Association (IBA)?

A) Usha Ananthasubramanian B) Shikha Sharma
C) Kaku Nakhate D) Chanda Kochhar
 
Answer & Explanation Answer: A) Usha Ananthasubramanian

Explanation:
Report Error

View Answer Report Error Discuss

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

6 2877
Q:

A UPS connects your computer and a power source.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

A UPS (Uninterruptible Power Supply) is a device that provides battery backup when the electrical power fails or drops to an unacceptable voltage level.


Related image


Small UPS systems provide power for a few minutes; enough to power down the computer in an orderly manner, while larger systems have enough battery for several hours.

Report Error

View Answer Workspace Report Error Discuss

1 2876
Q:

The decadal growth in the population of India during 1991-2001 is close to 

A) 13% B) 17%
C) 21% D) 25%
 
Answer & Explanation Answer: C) 21%

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

1 2876