Loops (while, do-while, for)

Loops (while, do-while, for) In C programming language, loops are used to repeatedly execute a block of a particular program code in the program. Until a specified program condition given in the current program is fully executed. There are mainly 3 types of loops in C programming. Which are used by the C developer based…

Comments Off on Loops (while, do-while, for)

Decision making (if-else, switch-case)

Decision making (if-else, switch-case) The process of making decisions based on the design program variables in C programming is facilitated and easy through conditional statements like if-else and switch-case. If-else statements help you to apply any programming logic in true or false order. In the same switch-case statement, you can print or select multiple switch-case…

Comments Off on Decision making (if-else, switch-case)
Increment and decrement operators
Increment and decrement operators

Increment and decrement operators

Increment and decrement operators Increment and decrement operators in C programming are used to increase or decrease the value of a variable declared in a program by one. Increment and decrement operators are used as a shorthand notation to add or subtract one from the default value of any program variable. So let’s learn about…

Comments Off on Increment and decrement operators

Assignment operators

Assignment operators Assignment operator in C language is used to assign a value to a variable declared in the program. Assignment operator is mainly used to store the result of a program expression or value in a variable. So let's know the assignment operator in C language. Assignment (=) operator. Example. int p; p =…

Comments Off on Assignment operators
Logical operators
Logical operators

Logical operators

Logical operators Logical operators in C programming are used to perform logical operations on the boolean values ​​(true or false) of variables used in the program. Logical operators are generally used to merge or combine multiple programming conditions together or to negate conditions. Types of Logical Operators in C Programming. Logical AND (&&) Operator. A…

Comments Off on Logical operators
Relational operators
Relational operators

Relational operators

Relational operators In C programming language, relational operators are used to compare two or more variable values ​​or expressions declared in the program. Based on the comparison result of the relation operator, the output either returns true (1) value or displays false (0) output value. So let's now know about the relational operators in C…

Comments Off on Relational operators
Arithmetic operators
Arithmetic operators

Arithmetic operators

Arithmetic operators Arithmetic operators in C programming language are used to perform mathematical program operations on programming operands (variables or program values). These operations include adding, subtracting, multiplying, dividing, finding modulus, etc. of program values. Here are the basic arithmetic operators in C programming. Addition (+). Plus operator adds different program variable values ​​or two…

Comments Off on Arithmetic operators
Basic input/output (printf, scanf)
Basic input/output (printf scanf)

Basic input/output (printf, scanf)

Basic input/output (printf, scanf) In C programming language, printf() and scanf() are two essential built-in program functions. They are basically used to perform program input and program output text information operations from programmer to program. While printf() function prints program information to the console screen, scanf() function inputs or displays program variable data values ​​from…

Comments Off on Basic input/output (printf, scanf)
Data types in C
Data types in C

Data types in C

Data types in C In C programming language, data types specify the type of data to be declared in the C program. In which the created program in C programming stores variable values. Each C programming data type has various specific features. Such as the size of the data type used as a variable and…

Comments Off on Data types in C
Keywords and identifiers
Keywords and identifiers

Keywords and identifiers

Keywords and identifiers In C programming language, keywords and identifiers are built-in fundamental programming concepts. Keywords and identifiers in C language are used to declare the names of program variables, program functions, and other C program variable elements. Keywords and Identifiers Declaration Method in C Language. Keywords in C Language. Keywords, also known as reserved…

Comments Off on Keywords and identifiers