Category: C
-
Cif-else Statement
As we have already seen that the if statement by itself will execute a single statement, or a group of…
February 19, 2022
-
Cswitch Statement in C
The switch statement in C provide us with an alternate way to implement the if-else if ladder in a much…
February 22, 2022
-
Cswitch and if-else in C
We had already seen that both if-else and switch in C can be used for decision-making in a program. Let…
February 23, 2022
-
CLoops in C
The programs that we have created so far were of limited nature, because on execution, they always perform the same…
February 24, 2022
-
CLoops and its examples
Let us take a look at the various ways to use loops in c. Infinite loop An infinite loop in…
February 27, 2022
-
Cwhile loop in c
The while loop in c is an entry controlled loop (Entry Controlled Loops are used when checking of a test…
February 27, 2022
-
Cwhile loop examples in c
Let us look at various examples of the while loop in c. Printing n numbers: output: Here, we printed n…
March 1, 2022
-
Cdo-while loop in c
The do-while loop in c in an exit controlled loop unlike the for and the while loop the condition is…
March 1, 2022
-
Cdo-while loop examples
Here are a few examples of the do-while loop. Printing table of a number using do-while: output: using the do-while…
March 3, 2022
-
CJump statements in C
In some programming cases, we want to take control to the start of the loop, skipping the statements inside the…
March 4, 2022
-
CFunctions in C
A computer program cannot handle all the tasks by itself, instead, it requests other programs like entities called, functions in…
March 6, 2022
-
CPassing arguments between functions in C
The functions that we use need to be flexible, i.e, they should be able to pass values among other functions….
March 8, 2022