Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void foo (const char ** p) {}
- int main (int argc, char ** argv)
- {
- foo(argv); //compiler says "line 5: warning: argument is incompatible with prototype"
- return 0;
- }
- foo((const char**)argv);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement