Questions

Q:

Point out the error, ifany, in the followingb code?

typedef struct

{

     int data;

     NODEPTR link;

} *NODEPTR;

 

Answer

A typedef defines a new name for a type, and in simpler cases like the one shown below you can define a new structure type and a typedef for it at the same time.


typedef struct


{


    char name[20];


    int age;


} emp;


However, in the structure defined in this question, there is an error because a typedef declaration cannot be used until it is defined. In the given code fragment the typedef declaration is not yet defined at he point where the link field is declared.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2314
Q:

Where is the headquaters of the Universal postal Union

A) Switzerland B) UK
C) Iran D) India
 
Answer & Explanation Answer: A) Switzerland

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

2 2314
Q:

You cannot link excel worksheet data to a word document

A) With a hyperlink B) With the copy and paste buttons on the standard toolbar
C) With the right drag method D) With the copy and paste special commands
 
Answer & Explanation Answer: B) With the copy and paste buttons on the standard toolbar

Explanation:

You cannot link excel worksheet data to a word document With the copy and paste buttons on the standard toolbar.

Report Error

View Answer Report Error Discuss

2 2314
Q:

The Longest Driverless Metro in the world is________

Answer

The Dhubai Metro(UAE) consists of two driverless lines(Red and Green) that totalled 74.694 km (46.41 miles) when the Greenline was officially opened on 9 September 2011.

Report Error

View answer Workspace Report Error Discuss

1 2314
Q:

Why do you need common fields in a Database?

Answer

A database that contains multiple tables related through common fields.


A common field is a field of data that is shared among all forms in a database. Without them, it would be difficult and/or time-consuming to create other forms.

Report Error

View answer Workspace Report Error Discuss

7 2313
Q:

What kind of Room has No Doors or Windows

Answer

Mushroom.

Report Error

View answer Workspace Report Error Discuss

2 2312
Q:

Which equation represents a neutralization reaction?

A) 2Al(OH)3(s) ---> Al2O3(s) + 3H2O(l) B) H2SO4(aq) + 2NaOH(aq) ---> Na2SO4(aq) + 2H2O(l)
C) 2H2(g) + O2(g) ---> 2H2O(l) D) H2CO3(aq) ---> CO2(g) + H2O(l)
 
Answer & Explanation Answer: B) H2SO4(aq) + 2NaOH(aq) ---> Na2SO4(aq) + 2H2O(l)

Explanation:

Here in the option B) H2SO4 - Sulfuric acid is reacting with sodium hydroxide (NaOH), a base to produce a salt (Sodium Sulfate), and water (H2O). This is characteristic of of acid-base neutralization reactions.

Report Error

View Answer Report Error Discuss

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

1 2312
Q:

Which of the following is part of the axial skeleton?

A) Thigh bone B) Shoulder bones
C) Vertebral column D) Foot bones
 
Answer & Explanation Answer: C) Vertebral column

Explanation:

The axial skeleton is the part of the skeleton that consists of the bones of the head and trunk of a vertebrate. In the human skeleton, it consists of 80 bones and is composed of six parts; the skull bones, the ossicles of the middle ear, the hyoid bone, the rib cage, sternum and the vertebral column.

 

Bones of shoulder, thigh and foot are the part of appendicular skeleton. 

  

Hence, Vertebral column is the part of axial skeleton.

Report Error

View Answer Report Error Discuss

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

3 2312