home.social

#brian_kernighan — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #brian_kernighan, aggregated by home.social.

  1. ```c
    #include <stdio.h>
    #include <string.h>

    int main() {
    char bucketList[10][100];
    int count = 0;

    strcpy(bucketList[count++], "Meet Brian Kernighan and Professor Brailsford to talk about C, Unix, and computer history");

    strcpy(bucketList[count++], "Give a talk about Go, PHP, Linux or C");

    ...

    for (int i = 0; i < count; i++) {
    printf("%d. %s\n", i + 1, bucketList[i]);
    }

    return 0;
    }
    ```
    #C #brian_kernighan #professor_brailsford #computerphile