Tag

learn c

All blogs tagged with learn c

7
Articles
20,995
Total Views

Showing 7 of 7 articles

09
Dec
2023
Mastering Functions in C++: A Complete Guide with Examples
3,420 views

Because there are no library functions with predetermined definitions, a user-defined function is one that is written by the user when writing any application. To fulfill the user's individual needs, the user must create his or her own functions. Such functions must be appropriately defined by the user. There is no such necessity to include any specific library in the program.

09
Dec
2023
How to Use If Else Statement in C#: Complete Guide
3,469 views

In C# if-else statement also tests the condition. It executes the if block if the condition is true otherwise else block, is executed. the else statement to specify a block of code to be executed if the condition is False. the if-else statement checks a Boolean expression and executes the code based on if the expression is true or false. The if part of the code executes when the value of the expression is true. The else part of the code is executed when the value of the expression is false.

20
Sep
2023
Mastering the Switch Statement in C: Explained with Examples
2,968 views

A do-while loop is a sort of loop construct in C that repeatedly runs a block of code as long as a stated condition is true. The do-while loop, as opposed to the while loop, ensures that the code block is performed at least once, even if the condition is initially false. The basic syntax of a do-while loop in C is as follows:

Translate Page