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

Article 17 deals with?

A) Right to Privacy B) Fundamental Duties of every citizen
C) Abolition of Untouchability D) Right to Constitutional Remedies
 
Answer & Explanation Answer: C) Abolition of Untouchability

Explanation:

Article 17 deals with Abolition of Untouchability.

Report Error

View Answer Report Error Discuss

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

3 2436
Q:

What was established by the Americans, the British and the Canadians at Bretton woods in 1944?

Answer

The International Monetary Fund and the international Bank for Reconstruction and development.

Report Error

View answer Workspace Report Error Discuss

0 2435
Q:

Who selects the Social Audit Committee under MGNREGA scheme?

A) Chief Minister B) Gram Sabha
C) Mayor D) B.D.O.
 
Answer & Explanation Answer: B) Gram Sabha

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

2 2435
Q:

Read the passage carefully and select the best answer to each question out of the given four alternatives.

 

India’s title triumph in the Under-19 cricket World Cup at the Bay Oval in New Zealand seemed inevitable. Prithvi Shaw’s boys, astutely coached by Rahul Dravid, maintained an unbeaten record through their three-week sojourn. The rousing campaign commenced with a 100-run win against Australia on January 14; in subsequent games, Papua New Guinea, Zimbabwe, Bangladesh and Pakistan were all emphatically defeated. There were no big-game nerves and even in the much- hyped semifinal against Pakistan, India pocketed a facile 203-run victory. In the summit clash against Australia, Shaw’s boys followed their template of dominance.

Australia was bowled out for 216 and India cruised home in 38.5 overs with eight wickets to spare, and enjoyed the added lustre of opener Manjot Kalra’s unbeaten 101. Through the tournament India found diverse heroes. Fittingly, its batting troika of Shaw, Kalra and Shubman Gill, along with seamer Kamlesh Nagarkoti and spinner Anukul Roy, found a berth in the International Cricket Council’s Under-19 World Cup team, essentially a tribute to the best players on view in the championship. Cricketing excellence allied with the resultant celebrity status, especially during the teenage years, can be a double-edged sword and it helped that in the dressing room there was the calming presence of Dravid. As the ecstatic players leapt and photo-bombed after clinching the trophy, Dravid cut through the hype and said that this win should not be the team’s defining memory as each individual cricketer has much more to achieve in his career. Dravid has a point. India has won the Under-19 World Cup on four occasions, including the previous golden runs in 2000, 2008 and 2012. From among these champion sides, only a few graduated to the big stage. Yuvraj Singh and Virat Kohli came through the under-19 ranks and managed to carve a niche for themselves, but Unmukt Chand, who led the team to the Cup in 2012, and then featured in a soft drink advertisement besides writing a book, has been unable to make it to the Indian senior team.

 

Who was the captain of the U-19 Cricket team of India who won the 2012 World Cup?

A) Virat Kohli B) Anukul Roy
C) Prithvi Shaw D) Unmukt Chand
 
Answer & Explanation Answer: D) Unmukt Chand

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2435
Q:

Four statements are given below at A, B, C and D. There may be some errors in the given statement(s). The incorrect statement is your answer.

 

A) To drain water away from the tracks, railroad beds, like road beds, are designed in which there is usually a bed of rock and gravel resulting in fast drainage from the tracks. B) Railroad beds, like road beds, are designed in which there is usually a bed of rock and gravel that results in the fast drainage from the tracks.
C) A bed of rock and gravel, called the railroad bed, is designed similar to a road bed to drain water away from the tracks. D) Railroad beds, like road beds, are designed to drain water apart from the tracks, so there is usually a bed of rock and gravel resulting in fast drainage away from the tracks.
 
Answer & Explanation Answer: D) Railroad beds, like road beds, are designed to drain water apart from the tracks, so there is usually a bed of rock and gravel resulting in fast drainage away from the tracks.

Explanation:

‘apart’ is incorrect after ‘to drain water’

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: CAT , GRE , TOEFL

0 2435
Q:

The question below consists of a set of labelled sentences. Out of the four options given, select the most logical order of the sentences to form a coherent paragraph.
P: For one, very few entrepreneurs are willing to take on a new outsource, unless it comes with a guarantee of a certain level of sales.
Q: This invariably acts as an incentive for outsources to be lax in developing the business.
R: Despite being the dominant partner in the relationship, the outsourcer doesn't always have all the advantages.
S: The trade refers to it as the minimum guarantee clause, which means that if a outsourcee is unable to reach an anticipated sales level, he will be compensated for
the balance amount.

A) PRQS B) SPQR
C) QSPR D) RPSQ
 
Answer & Explanation Answer: D) RPSQ

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 2435
Q:

Can you suggest any other way of writing the following expression such that 30 is used only once?

a <= 20 ? b = 30 : c = 30 ;

Answer

*( ( a <= 20 ) ? &b : &c ) = 30;

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2435