dynamic memory allocation

Create a program that allocates a chunk of memory to hold a string no larger than 80 characters. Prompt the user to enter his favorite movie. Read his response with scanf() and assign the data to your newly allocated memory. Display the user’s favorite movie back to standard output.

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now