displacement

  1. Bill Evans at Mariposa

    Solved starting at a specified point in a constant string

    Code which tacks on an "s" when a described quantity is not exactly 1: #include <stdio.h> void display_rabbit_count(int the_count) { printf(">>>%d rabbit%s<<<\n", the_count, #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wstring-plus-int" "s"+(the_count==1)...
Back
Top