This is just my note when I attended the lecture. I write this here so it will be long lasting. :D
The thing is, this assignment "can not" be done if information-name has a type of string / array of characters.
[Instructions]
In C language, as well as in any other programming language, there are some types of instruction.
Assignment
Assignment instruction is used to, as its name, assign a value into a variable. This can be done these operation:
The thing is, this assignment "can not" be done if information-name has a type of string / array of characters.
Conditional State
The conditional instruction is useful if there is particular state that has to be done differently from any others state.
Repeating
We can use this when we need to repeat something over and over again until it reaches the stop conditions.
The conditional instruction is useful if there is particular state that has to be done differently from any others state.
Repeating
We can use this when we need to repeat something over and over again until it reaches the stop conditions.
Branching
With branching, we can jump from one 'job' into another 'job'. It can be done like these:
Note:
Continue can only be used inside do, for, and while iteration;
Break can only exists inside iteration or switch. This statement causes the iteration / switch be stopped.
The for goto must be placed in
With branching, we can jump from one 'job' into another 'job'. It can be done like these:
Note:
Continue can only be used inside do, for, and while iteration;
Break can only exists inside iteration or switch. This statement causes the iteration / switch be stopped.
The for goto must be placed in
Comments
Post a Comment