C language learned by suffering
C language learned by suffering
Exercise 1
fundamental knowledge
Q1-1
A C program is created as a set of objects.
What are some things?
What are some things?
Q 1-2
The structure of a certain object mentioned above is a combination of four functions.
What are those four functions? Answer correctly, down to the order and the separator symbols.
What are those four functions? Answer correctly, down to the order and the separator symbols.
Q1-3
C is a human oriented language and cannot be understood by computers.
There is software that translates C into a computer-friendly language.
What do we call such software?
There is software that translates C into a computer-friendly language.
What do we call such software?
program writing
Q2-1
Create a program with only a main function that does nothing.
descriptive expression
Q3-1
In C, functions can have any name you like, but
There must always be one function named main.
Briefly explain why.
There must always be one function named main.
Briefly explain why.
Basic Knowledge (sample answers)
Solution 1-1
function (e.g. math, programming, programing)
Solution 1-2
Type Function name (Argument){Processing}
*Each word may be slightly different.
Solution 1-3
compiler
*Compilation is a misnomer since it refers to the translation process itself.
Program writing (example of solution)
Solution 2-1
int main(void) {return 0;}
*At this point, as long as it can be compiled, that's all that matters.
Short Answer Type (Sample Answer)
Solution 3-1
C functions have no concept of order and can be used in any order, but
This is because it would be difficult to know which function to use first.
The first function to be used is named main.
This is because it would be difficult to know which function to use first.
The first function to be used is named main.
*Points will be deducted if the concept of order is not written about.
About this Site
The C language (bitter C), which is learned by suffering, is
This is the definitive C language introductory site.
It systematically explains the basic functions of the C language and
It is as complete as or more complete than any book on the market.