Skip to content

Instantly share code, notes, and snippets.

@pr4v33n
Created September 21, 2011 01:51
Show Gist options
  • Save pr4v33n/1230997 to your computer and use it in GitHub Desktop.
Save pr4v33n/1230997 to your computer and use it in GitHub Desktop.
lvalue
#include <iostream>
using namespace std;
int main()
{
char s[]="this is a character array";
for(char *p=s;*p!='\0';p++)
cout<<*p<<' ';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment