Question: What is the output of this program? #include < iostream > using namespace std; int main() { char *ptr, char Str] = abcdefg; ptr
What is the output of this program? #include < iostream > using namespace std; int main() { char *ptr, char Str] = "abcdefg"; ptr = Str; ptr += 5; cout
Step by Step Solution
3.48 Rating (158 Votes )
There are 3 Steps involved in it
Lets analyze the code The ptr is initially pointing to t... View full answer
Get step-by-step solutions from verified subject matter experts
