Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string>
- #include <iostream>
- using namespace std;
- int main() {
- const int SIZE = 20;
- char earl1[SIZE] = "Krackalackin";
- char* ntc1 = earl1;
- int s1 = 0;
- int s2 = 1;
- while (*ntc1 != '\0') {
- ntc1++;
- }
- char reads2 = *(ntc1 - s2);
- char reads1 = *(earl1);
- while (true) {
- s1++; s2++;
- }
- system("pause"); return 0;
- }
Add Comment
Please, Sign In to add comment