Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 58 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. Terminology: Forward Declaration versus Function Prototype
  2. struct Foo;
  3.    
  4. char *foo();  // NOT the same as char *foo(void)
  5.    
  6. int foo(char *str_one, char *str_two, char *str_three);
  7.    
  8. int foo(char *str_one, char *str_two);
  9.    
  10. int foo(int a, char *b) {...}
  11.    
  12. int foo();             // a declaration, but not a prototype
  13. int foo(a, b);         // a declaration, but not a prototype
  14. int foo(int, char *);  // a declaration and a prototype
  15. int foo(int a, char *b);  // a declaration and a prototype
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top