What are literals?

What are literals?

What are literals? Literals are the constant values assigned to the constant variables. We can say that the literals represent the fixed values that cannot be modified. It also contains memory but does not have references as variables. For example, const int =10; is a constant integer expression in which 10 is an integer literal. …

Continue Reading…… What are literals?

ASCII value in C

ASCII value in C

ASCII value in C Hey everyone, Do you know what is ASCII or ASCII value? Today we will discuss about these ASCII value in C. What is ASCII code? ASCII stands for American Standard Code for Information Interchange. It is a character encoding scheme that is used for electronics communication. Each character or a particular …

Continue Reading…… ASCII value in C

Escape Sequence in C

Escape sequence in C programming language

Escape Sequence in C An escape sequence in C language is a sequence of characters that do not represent themselves when used inside a string literal or character. What is the Escape Character? We cannot print a new line by directly pressing the entry key in any programming language (C, C ++, Java, and C …

Continue Reading…… Escape Sequence in C

Comments in C

Comments in C

Comments in C Comments in C language are use to provide information about the lines of coding stuff. It is widely used for the code documentation. In the C language, there are 2 types of comments Single Line Comments Multi-Line Comments Single Line Comments Single line comments are those which are represented by double slash …

Continue Reading…… Comments in C

C Operators

C Operators

C Operators An operator is simply a symbol used to perform an operation. There can be many types of operations such as arithmetic, logical, bitwise, etc. There are following types of operators for performing various types of operations in C language. Arithmetic Operators Relational Operators Shift Operators Logical Operators Bitwise Operators Ternary or Conditional Operators …

Continue Reading…… C Operators

C Identifiers

C Identifiers

C Identifiers C identifiers represent names in C programs, for example, variables, functions, structures, arrays, unions, labels, etc. An identifier may be composed of letters such as uppercase, lowercase letters, underscores, numerals, but the initial letter is either an alphabet or an underscore. If an identifier is not used in an external linkage, it is …

Continue Reading…… C Identifiers

How to install C

How to install C

How to install C Hey guys, today we will know how to install and setup c compiler in our device. There are so many compilers available in the market for C and C++. You must download any one compiler as per your comfort. Here, we are moving towards Dev C++ and Visual Studio Code (VSC). …

Continue Reading…… How to install C

Static in C

Static in C

What do you mean by Static in C programming? Static is a keyword usable in C /C++ programming languages. It can be use with variables and functions.An ordinary variable is limited to the scope in which it is defined, while the scope of the static variable is all over the C program. Static keyword can …

Continue Reading…… Static in C

C Boolean

C Boolean

What is Boolean in C programming? In C programming, Boolean is a data type which contains two types of values, i.e., 0 and 1. These two values are binary values. Basically, the value of bool type represents two types of behavior, either true or false. Here, ‘1’ represents the true value, while ‘0’ represents the …

Continue Reading…… C Boolean