Solution for Exercise 14-3
ex1403
#include <stdio.h> int main() { struct president { char name[40]; int year; }; struct president first = { "George Washington", 1789 }; printf("The first president was %s\n",first.name); printf("He was inaugurated in %d\n",first.year); return(0); }
Copyright © 1997-2024 by QPBC.
All rights reserved