Back To C++ Pointers
//program to create a char pointer ( char pointer can be used to input a string ) #include
#include
void main() { char *str; clrscr(); cout<<"\nenter a string "; cin>>str; cout<<"\nstring you have entered is "<