Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- ////////////////////////////////////////////
- class string
- {
- public:
- char *psz0,
- *psz1,
- *psz2;
- string();
- } str1, str2, str3;
- ////////////////////////////////////////////
- int main()
- {
- printf("%s", str1.psz0);
- return 0;
- }
- ///////////////////////////////////////////////////////////////////////
- string::string()
- {
- static char sz[5] = "void";
- psz0 = sz;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement