coderz.py

Keep Coding Keep Cheering!

Decision-Making in C

Decision-making in C, as the name suggests, is a way of performing different sets of actions depending on various circumstances. Shown below is the general form of a regular decision-making structure found in most of the programming languages − Here, a particular condition statement is tested by the program, which returns true/false accordingly and executes […]

February 18, 2022 | C | No comments

Escape Sequence in C

The escape sequence in C represents nongraphic characters (nongraphic characters are those characters that cannot be typed directly from the keyboard, for instance, backspace, tabs, carriage return, etc). An escape sequence is represented by a backslash(\) followed by one or more characters. Escape sequences are beneficial to programmers who want to format the output. List of […]

February 16, 2022 | C | No comments

Format specifiers in C

Format Specifiers in C are used during input and output operations. They specify what kind of data is getting printed or accepted during program execution, that is to say,  using this concept compiler can understand what type of data is in a variable during taking input using the scanf() function and printing using printf() function. […]

February 15, 2022 | C | No comments

Comments in C

Comments in C are an explanation or description of the source code of the program. It helps a developer explain the logic of the code and improves program readability.  These comments are not executed by the compiler rather ignored by it. Type of comments:  There are two types of comments in the C language. Single-Line Comments […]

February 13, 2022 | C | No comments

Precedence of Operators in C

While executing an arithmetic operation the precedence of the operators in C as well as other programming language matters a lot because precedence determines the grouping of terms in an expression and decides how an expression is evaluated. For instance, the expression might be having various arithmetic operators like ‘+’, ‘-‘, or ‘*’; then how […]

February 11, 2022 | C | No comments

Operators in C

Operators in C are symbols that are used to perform operations on operands(operands can be a constant, a variable, or a function on which operation is performed using the operators ). There can be many types of operations like arithmetic, logical, bitwise, etc. The following types of operators are supported in the C language − Arithmetic […]

February 10, 2022 | C | No comments

Data Types in C

Data types in C refer to how much memory it occupies in storage and how the bit pattern stored is interpreted. To thoroughly define a variable, one needs to mention not only its type but also its storage class. There are the following types of data types in C: Basic Types: They are arithmetic types […]

February 9, 2022 | C | No comments

Variables & Constants in C

Variables & Constants in C are formed by combining alphabets, numbers, and special symbols. Let us see what are ‘constants’ and ‘variables’ in C. Variables: An entity that may change during program execution is known as a variable. Variables are the names assigned to the memory locations. These locations can contain integer, real, or character […]

February 8, 2022 | C | No comments

Identifiers in C

Identifiers in C are the basic building block of a program. As the name suggests, they are used to identify user-defined objects. For instance, variables, functions, arrays, structures, unions, labels, etc. An identifier starts with a letter A to Z, a to z, or an underscore ‘_’ followed by zero or more letters, underscores, and […]

February 5, 2022 | C | No comments

Keywords in C

There is a close analogy between learning the English language and learning the C language. We start learning English by learning about alphabets, further create words and sentences by combining the words, Similarly, in C we learn about tokens which are the smallest individual unit in a program, they can either be a keyword or […]

February 4, 2022 | C | No comments

Advertisement