Revert "A bit more silly extra credit for ex12"
This reverts commit 58e734c60f
.
This commit is contained in:
parent
58e734c60f
commit
ea9cb1f846
@ -3,16 +3,12 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int areas[] = { 10, 12, 13, 14, 20 };
|
||||
areas[0] = 100;
|
||||
char name[] = "Zed";
|
||||
name[2] = 'F';
|
||||
char full_name[] = {
|
||||
'Z', 'e', 'd',
|
||||
' ', 'A', '.', ' ',
|
||||
'S', 'h', 'a', 'w', '\0',
|
||||
};
|
||||
full_name[9] = 'x';
|
||||
areas[1] = name[1];
|
||||
|
||||
// WARNING: On some systems you may have to change the
|
||||
// %ld in this code to a %u since it will use unsigned ints
|
||||
|
Loading…
Reference in New Issue
Block a user