Perhaps incorrectly fixing another format sequence warning
This commit is contained in:
2
ex9.c
2
ex9.c
@@ -30,7 +30,7 @@ int main(int argc, char *argv[])
|
|||||||
printf("%d\n", name[2]);
|
printf("%d\n", name[2]);
|
||||||
printf("%d\n", name[3]);
|
printf("%d\n", name[3]);
|
||||||
|
|
||||||
printf("name as int=%d\n", (int)name);
|
printf("name as int=%d\n", (int)*name);
|
||||||
|
|
||||||
printf("numbers: %d %d %d %d\n",
|
printf("numbers: %d %d %d %d\n",
|
||||||
numbers[0], numbers[1],
|
numbers[0], numbers[1],
|
||||||
|
Reference in New Issue
Block a user