Question printf();

Discussion in 'C' started by lionaneesh, Mar 22, 2010.

  1. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    Exercise 1-11. How would you test the word count program? What kinds of input are most
    likely to uncover bugs if there are any?
    Exercise 1-12. Write a program that prints its input one word per line.

    help me wid these questions temme the source code and the logic and the meaning of these questions....

    thnx..
     
  2. karthigayan

    karthigayan New Member

    Joined:
    Feb 19, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    0
    Try this in your own . it there is any problem then ask the doubt .
     
  3. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    Sir but i m nt able 2 understand these questions
     
  4. virxen

    virxen Active Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    28
    for example two word with more than one space between them: cat dog
    2 words seperated by a question mark: cat?dog
    and many more.

    It's not something difficult, isn't it?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice