Do while loop in C language
The do..while loop is similar to the while loop with one important difference that it is guaranteed to execute at least one time. The do-while loop is mainly used in the case where we … Read more
Everything You Want Is Always Here
The do..while loop is similar to the while loop with one important difference that it is guaranteed to execute at least one time. The do-while loop is mainly used in the case where we … Read more
While loop is also known as a pre-tested loop. It repeatedly executes a target statement as long as a given condition is true. It can be viewed as a repeating … Read more
A for loop is a repetition control structure. It is used to iterate the statements or a part of the program several times. In this tutorial, you will learn to create for loop … Read more
It is possible to include an if…else statement inside the body of another if…else statement. This called “Nested if…else”. When an if else statement is present inside the body of another “if” or “else” … Read more
The if…else ladder allows you to check between multiple test expressions and execute different statements. It is used in the scenario where there are multiple cases to be performed for … Read more
The if-else statement is used to perform two operations for a single condition. Here if statement has an optional else block, which will execute when the Boolean expression is false. The if-else statement is … Read more
The if-else statement in C is used to perform the operations based on some specific condition. The statements specified in if block are executed if and only if the given … Read more
A constant is a value or variable that can’t be changed in the program, for example: 10, 40, ‘a’, 7.4, “c programming” etc. Constants are treated just like regular variables … Read more
ASCII stands for American Standard Code for Information Interchange. It is a character encoding scheme used for electronics communication. In C programming language, a character variable does not contain a character value … Read more
An escape sequence in C language is a sequence of characters that doesn’t represent itself when used inside string literal or character. Generally, an escape sequence begins with a backslash … Read more