2. (Acknowledgement: This exercise is presented at https://condor.depaul.edu/ntomuro/courses/309/notes/pointer_exercises.html): Write code which prints the characters in a string in a reverse order. 5. char s[10] 6. char* cptr; "abcde"; 7. 8. // WRITE YOUR CODE HERE

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter10: Pointers
Section10.3: Pointer Arithmetic
Problem 5E
icon
Related questions
Question

please write in C

2. (Acknowledgement: This exercise is presented at
https://condor.depaul.edu/ntomuro/courses/309/notes/pointer_exercises.html): Write code
which prints the characters in a string in a reverse order.
5. char s[10] = "abcde";
6. char* cptr;
wwww
7.
8. // WRITE YOUR CODE HERE
Transcribed Image Text:2. (Acknowledgement: This exercise is presented at https://condor.depaul.edu/ntomuro/courses/309/notes/pointer_exercises.html): Write code which prints the characters in a string in a reverse order. 5. char s[10] = "abcde"; 6. char* cptr; wwww 7. 8. // WRITE YOUR CODE HERE
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Concept of Parenthesis
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr