Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Graded Lab 6

Topic: Character Array


Question:
Write a C++ program which will reverse the c-string entered by the
user. The maximum size of the string is 20.

Example:
Input: “I love Pakistan”
Output: “Pakistan love I”

Note: You are not allowed to use any extra character array.

You might also like