Valentin Mihov's Blog

Random pieces of wisdom about technology

The song about the bottles sang by a C programmer

Test test

    # ./sing_ten_bottles_song
    NULL green bottleshanging on the wall,
    NULL green bottleshanging on the wall,
    And if one green bottle
    Should accidentally fall

    Segmentation fault#

The big question is on which line exactly the segmentation fault will be thrown? ;-)