|
|
|
|
Homework 1 |
You can either write your answers to theoretical questions on paper or edit them in the file hw1/paper.tex. Please show all the mathematical derivations that you perform.
\n''?
#include <stdio.h> /* for printf and scanf */
int main(void)
{
char *s, string[101];
printf("Input a string:");
scanf("%100s",string);
/* loop over characters */
for (s=string; *s != ''; s++)
printf("%c",*s);
}
|
|
|
|
|
Homework 1 |