Skip to content

CGreenP/NPTEL-Introduction-to-Programming-in-C-Assignment-5-Question-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

NPTEL-Introduction-to-Programming-in-C-Assignment-5-Question-3

NPTEL Introduction to Programming in C Assignment 5 Question 3

Question 3

Write a recursive program that inputs a line of characters from the user. The line may contain blanks. It outputs the line with the characters reversed. The input ends with EOF (end of file). NOTE: You have to use recursion to solve this, and are NOT allowed to use array to store the input!!

Example:

INPUT

This is easy

OUTPUT

ysae si sihT

Sample Input 1

visible

Sample Output 1

elbisiv

Sample Input 2

xyzyx

Sample Output 2

xyzyx

About

NPTEL Introduction to Programming in C Assignment 5 Question 3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages