--- layout: post author: Pascal Cuoq date: 2012-10-02 17:33 +0200 categories: facetious-colleagues link format: xhtml title: "StackOverflow answers everything" summary: --- {% raw %}

One thing leading to another, I recently ended up wondering why, according to an individual close to the situation, the C snippet below is considered defined in C99.

  struct X { int a[5]; } f(); 
  int *p = f().a; 
  printf(\%p"  p); 

The programming Q&A website StackOverflow had never failed me before so I asked there. Lo and behold less than 24 hours later a very reasonable explanation appeared.

I would like to thank my colleague Virgile Prevosto for answering my question on StackOverflow.

{% endraw %}