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

Who is the author of Meghdoot?

A) Shundraka B) Vishakhadatta
C) Kalidasa D) Chanakya
 
Answer & Explanation Answer: C) Kalidasa

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: Bank Exams

0 2348
Q:

In which year American Revolution started ?

A) 1774 B) 1775
C) 1776 D) 1777
 
Answer & Explanation Answer: B) 1775

Explanation:

American Revolution started in 1775 and lasted till 1781.

Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2348
Q:

What is 16 bit?

Answer

Anything larger and the computer would need to break the number into smaller pieces.


 


16-bit is a computer hardware device or software program capable of transferring 16 bits of data at a time.


Today, 16-bit hardware and software has been replaced by 32-bit and 64-bit alternatives, which give the computer more memory to work with; increasing overall performance.


 


For example, early computer processors (e.g., 8088 and 80286) were 16-bit processors, meaning they were capable of working with 16-bit binary numbers (decimal number up to 65,535).

Report Error

View answer Workspace Report Error Discuss

2 2348
Q:

The caves of Ajanta are famous for

A) paintings B) terra-cotta
C) sculpture D) temples
 
Answer & Explanation Answer: A) paintings

Explanation:

The caves of Ajanta are famous for paintings.

Report Error

View Answer Report Error Discuss

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

0 2348
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the words/sentence.

Expel someone from a property, especially with the support of the law

A) Genial B) Evict
C) Cordial D) Convivial
 
Answer & Explanation Answer: B) Evict

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: CAT , GRE , TOEFL
Job Role: Bank Clerk , Bank PO

0 2348
Q:

Which of the following is an Inert Gas?

A) Hydrogen B) Nitrogen
C) Oxygen D) Argon
 
Answer & Explanation Answer: D) Argon

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 2347
Q:

In oceania, most towns began as

A) Colonial ports B) plantations
C) tribal ritual centers D) capital cities
 
Answer & Explanation Answer: A) Colonial ports

Explanation:

Oceania is a geographic region comprising Melanesia, Micronesia, Polynesia and Australasia. In Oceani, most towns began as Colonial Ports.

oceania1532071449.jpg image

Report Error

View Answer Report Error Discuss

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

1 2347