How do i store a paragraph into a string?
for example, if i input a long paragraph, the program will
read the words one by one and concatenate them until no word
is left.

Answer Posted / kamlesh

we can use simply.... gets(paragraph)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the preprocessor categories?

633


how do you programme Carrier Sense Multiple Access

1510


What is the difference between %d and %i?

588


Can we declare a function inside a function in c?

577


Was 2000 a leap year?

621






What is a pragma?

664


What is the difference between formatted&unformatted i/o functions?

610


Is it possible to have a function as a parameter in another function?

594


Explain a file operation in C with an example.

655


Explain the concept and use of type void.

623


How do shell structures work?

563


What does %c mean in c?

643


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

639


What is the purpose of & in scanf?

589


How would you rename a function in C?

612