Back to Browse

Practical@Lesson 8: Pointers to point to C-string (array of char)

246 views
Jul 25, 2020
11:24

Link to install Visual Studio with C++: https://youtu.be/ThmtfSdKuGo Size of dataypes: https://www.programiz.com/cpp-programming/data-types Question: 1. Given the following declarations, write a C++ program which prints the characters in a C string in a reverse order using pointer notation. char s[5] = "abcd"; char* ptr;

Download

0 formats

No download links available.

Practical@Lesson 8: Pointers to point to C-string (array of char) | NatokHD