oop-c/main.c

14 lines
239 B
C
Raw Permalink Normal View History

2018-06-04 09:06:12 -05:00
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "person.h"
int main() {
Person *p=Person(0,"Peter")
p.print_age;
for (int i=0;i<13;i++) {
p.happy_birthday;
p.print_age;
}
return 0;
}