liking C lang.Chinese said:
#include<stdio.h>
main()
{
int i;
char a[10];
scanf("%d",&i);
_________________
_________________\\*full in the blank , making use of a[10] to
outputcontent of i*\\
printf("%s",a);
}
We don't do homework. Hint, read the C standard for library
functions. However ...
Your instructor has given you an impossible task, because the
outline program is invalid in the first place. main returns an
int, and should be written as "int main(void)" anyhow (must be for
C99). The program fails to return a value, which is invalid for
C90. So regardless of what standard you use, the program is
invalid.
Find an instructor or course that at least knows the subject they
are trying to teach.
--
<
http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<
http://www.securityfocus.com/columnists/423>
"A man who is right every time is not likely to do very much."
-- Francis Crick, co-discover of DNA
"There is nothing more amazing than stupidity in action."
-- Thomas Matthews