Added an example using C arrays