Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 0.815 kb
/*
* =====================================================================================
*
* Filename: 04_01_exercise.c
*
* Description: Exercise 4.1
* Write a program to print your name, social security number,
* and date of birth.
*
* Version: 1.0
* Created: 09/16/2011
* Compiler: gcc
*
* Author: Zach Williams, hey AT zachwill DOT com
*
* =====================================================================================
*/
#include <stdio.h>
char *name, *social, *birth_month;
int main() {
name = "Zach";
social = "LOL-YEAH-RIGHT";
birth_month = "March";
printf("Name: %s\n", name);
printf("Social: %s\n", social);
printf("Birth Date: %s\n", birth_month);
return 0;
}
Jump to Line
Something went wrong with that request. Please try again.