Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- class foo
- {
- public:
- int a, b, c;
- void hello()
- {
- printf("Hello World!\n");
- }
- };
- int main(int argc, char *argv[])
- {
- foo *f = NULL;
- f->hello();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement