0

#include <iostream> #include <string> using namespace std; int main() { char *p= "this"; p+=2; char c= 1 + *p; cout <<c;

please explain in detail

3rd Jul 2017, 5:09 PM
Kushagra Agarwal
Kushagra Agarwal - avatar
4 Answers
0
What if there was string instead of char?
4th Jul 2017, 8:19 AM
Kushagra Agarwal
Kushagra Agarwal - avatar
0
Ok Thanx
4th Jul 2017, 11:54 AM
Kushagra Agarwal
Kushagra Agarwal - avatar