[主观题]

If possible please suggest further improvement of the String class.

Question 3:

G.iven a link list, detect whether it's circular using only one loop.

Tips: Below implementation is allowed

for( ... )

{

...

}

The following implementations is NOT allowed

...

for( ... )

{

...

for( ... ) {...}

}

...

or

...

for( p = list->head, q = list->head; p != NULL && q != NULL; p = p->next )

{

...

}

...

for( ... )

{

...

}

参考答案与解析:

相关试题

Please [call] myhusband as soon as possible.

[单选题]Please [call] myhusband as soon as possible.A.contactB.consultC.phoneD.visi

  • 查看答案
  • Please send us as soon as possible sampl

    [单选题]Please send us as soon as possible samples of the following goods _____ listed in your current catalogue.A . whichB . asC . whatD . for which

  • 查看答案
  • Will you please [call]my husband as soon as possible?

    [单选题]Will you please [call]my husband as soon as possible?A.contactB.consultC.ph

  • 查看答案
  • The farming methods have been______impro

    [单选题]The farming methods have been______improved with the inventfion of the new machine.A.efficientlyB.proficientlyC.professionallyD.intentionally

  • 查看答案
  • _____, the negotiation went further on,

    [单选题]_____, the negotiation went further on,A.With the first point agreeing onB.

  • 查看答案
  • Cartwright seems to suggest that _______

    [单选题]C.artwright seems to suggest that ________.[A] waking up in time is essential to the ridding of bad dreams[B] visualizing bad dreams helps bring them under control[C] dreams should be left to their natural progression[D] dreaming may not entirely bel

  • 查看答案
  • Cartwright seems to suggest that

    [单选题]Cartwright seems to suggest thatA.waking up in time is essential to the rid

  • 查看答案
  • What does the woman suggest?

    [单选题]What does the woman suggest?A. Going to town.B. Seeing a movie.C. Having a meal.

  • 查看答案
  • As for food, experts suggest that______.

    [单选题]A.s for food, experts suggest that______.A. we should eat lessB. we should never eat meatC. we should have meals with less salt and sugarD. we should have meals without salt or sugar

  • 查看答案
  • (ii) Recommend further audit procedures

    [试题](ii) Recommend further audit procedures that should be carried out. (4 marks)

  • 查看答案
  • If possible please suggest further impro