C Program to Accept Paragraph as Input and Display Output

| Last Updated: | In: 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.


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:

Tags: , , , , , , ,