print_c
Turn-in directory00_print_c/
Files to turn inprint_c.c
Allowed functionsputchar
  • Write a program which displays the character c on standard output.
  • To help you get started, we will provide some code for you to copy/paste/edit. Make sure you understand every line before you hand it in!
#include <stdio.h>

int main()
{
    char c = '0';

    putchar(c);
    return 0;
}

Example output:

$ ./a.out
c$