Advertisement
Guest User

Untitled

a guest
Jul 30th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. void foo (const char ** p) {}
  2.  
  3. int main (int argc, char ** argv)
  4. {
  5. foo(argv); //compiler says "line 5: warning: argument is incompatible with prototype"
  6. return 0;
  7. }
  8.  
  9. foo((const char**)argv);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement