Added example of common structure.
Added printf example.