Before I answer, is this what you meant?
#include <iostream.h>
int main()
{
char *p = “Hello”;
while (*p)
{
std::cout << *(++p) << std::endl;
}
}
Before I answer, is this what you meant?
#include <iostream.h>
int main()
{
char *p = “Hello”;
while (*p)
{
std::cout << *(++p) << std::endl;
}
}