Created
September 21, 2011 01:51
-
-
Save pr4v33n/1230997 to your computer and use it in GitHub Desktop.
lvalue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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