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.



How do i store a paragraph into a string? for example, if i input a long paragraph, the program wil..

Answer / kamlesh

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

simple c program for 12345 convert 54321 with out using string

7 Answers   TCS,


What are enumerated types?

0 Answers  


main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }

8 Answers   Vector,


What are the types of type qualifiers in c?

0 Answers  


Can you please compare array with pointer?

0 Answers  






program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

0 Answers  


What is a void pointer in c?

0 Answers  


What is a node in c?

0 Answers  


to find out the reverse digit of a given number

6 Answers   Infosys, Microsoft, TCS, Wipro,


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

0 Answers  


Write a C program to convert an integer into a binary string?

1 Answers  


What does the c in ctime mean?

0 Answers  


Categories