1.
What is the output of
printf("a = %05d\n", 35);
You should first think about this and try to figure out the answer by hand. Then feel free to use the window below to write a program to verify your answer. This time you have to write the entire program by yourself (hint: get started by copying and pasting from a previous program.)
Compile and run the code below in your own C environment.
/* This time you need to write the entire program by yourself... */
-
a = 00035
-
Correct
-
35
-
Not quite. Try again!
-
00035
-
Not quite. Try again!
-
a = 0535
-
Not quite. Try again!

