1. Rewrite the following program to conform to good programming practice
#include <stdio.h>
int main()
{
printf("past is past");
}
2. Write a C program that the following phrases at the terminal.
3. What is the output of the following programs?
Solutions
1.
#include <stdio.h>
int main ()
{
printf ("past is past
");
}
2.
#include <stdio.h>
int main ()
{
printf ("Work is worship
");
printf ("C is a structured language
");
}
3.