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

The Congress of Vienna led to revolts in France because

A) People want absolute Monarchy B) To prevent one ruler to take too much power
C) People do not want absolute Monarchy D) None of the above
 
Answer & Explanation Answer: C) People do not want absolute Monarchy

Explanation:

The Congress of Vienna in 1814 to 1815 led to revolts in France because many people do not want absolute Monarchy.

Report Error

View Answer Report Error Discuss

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

0 2424
Q:

What is a deep valley between cliffs often carved from the landscape by a river?

Answer

Canyon

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

0 2424
Q:

What are the UNESCO's focus areas in the cultural field

A) The link between culture and development B) Action to conserve and protect the world cultural inheritance
C) By assisting member States in studying and preserving both physical and the non Physical heritage of their societies D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

1 2424
Q:

Which statement describes the amount of rainfall in grasslands?

A) more than deserts B) less than forests
C) Both A & B D) None of the above
 
Answer & Explanation Answer: C) Both A & B

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

2 2423
Q:

Which of the following is not soluble in water?

A) sodium chloride B) potassium sulfate
C) copper(II) hydroxide D) silver nitrate
 
Answer & Explanation Answer: B) potassium sulfate

Explanation:

We know that,

All nitrates are soluble in water.

All chlorides are soluble in water with the exception of those formed with silver , lead , mercury ions as all halides are soluble.

Sulphates are soluble in water.

Hydroxides are not soluble in water.

 

Hence, copper(II) hydroxide is not soluble in water.

Report Error

View Answer Report Error Discuss

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

2 2423
Q:

India's only Naval Aviation Museum is located in which state?

A) Kerala B) Goa
C) Tamil Nadu D) Karnataka
 
Answer & Explanation Answer: B) Goa

Explanation:
Report Error

View Answer Report Error Discuss

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

5 2422
Q:

In the following question, out of the four alternatives, choose the word which best expresses the meaning of the given word and click the buttoncorresponding to it.

CONSTRAIN

A) STRESS B) CONTRADICT
C) RESTRICT D) OBSTRUCT
 
Answer & Explanation Answer: C) RESTRICT

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2422