c - Function declaration: K&R vs ANSI -


what differences between k&r function declaration , ansi function declaration?

k&r syntax obsolete, can skip unless have maintain old code.

// k&r syntax int foo(a, p)      int a;      char *p;  {      return 0;  }  // ansi syntax int foo(int a, char *p)  {      return 0;  } 

Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -