The statements or code you write in your program normally get executed in a sequential manner, one after the other.
However, through a process called Transfer of Control we can ensure that the next statement is not necessarily the next one sequentially.
Transfter of Control can be achieved via Control Structures. Conrtol structures allow us define how and when certain statements will be met.
Here are some examples of Control structures:
- If then statements.
- Switch statements
How do You Feel after reading this?
According to scientists, we humans have 8 primary innate emotions:
joy, acceptance, fear, surprise, sadness, disgust, anger, and
Feel free to tell us how you feel about this article using these
emotes or via the comment section.
After completing his Software Engineering bachelors program, Oclemy(Clement Ochieng) these days is a man of two lives. At day he works for a startup in Nairobi, Kenya.
At night he works tirelessly on building ProgrammingWizards TV
, a tv channel for student coders and
this website to help share the source code. In between he practices Meditation and Self actualization to help him keep balance. He also likes
going for long solo walks to connect more with nature.