C Program to Accept Paragraph as Input and Display Output

Prem Tiwari - - C Programming Tutorial


This c program will accept a paragraph of sentences as input on the execution time and print the output by using the scanf() function in C..

You can only enter the 150 characters of a paragraph while executing the program because I have set the limit of 150 characters only. If you want to change this limit change the below line:

Copy the below program and execute it by using the c compiler.

Program Output is:

Enter Your Paragraph: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since 1989.
Your Entered Paragraph is: Enter Your Paragraph: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since 1989.


Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer and a blogger by hobby.

Tags: , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.