|
|
|
@ -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
|
|
|
|
|