Category: C

Comments in C

Comments in C Comments in C language are used to provide information about lines of code. It is widely used for documenting code. There are 2 types of comments in the C language. Single Line Comments Multi-Line Comments Single Line Comments Single line comments are represented by double slash \\. Let’s see an example of […]

C Operators

C Operators An operator is simply a symbol that is used to perform operations. There can be many types of operations like arithmetic, logical, bitwise, etc. There are following types of operators to perform different types of operations in C language. Arithmetic Operators Relational Operators Shift Operators Logical Operators Bitwise Operators Ternary or Conditional Operators […]

Keywords in C

Keywords in C A keyword is a┬áreserved word in C language. You cannot use it as a variable name, constant name, etc. There are only 32 reserved words (keywords) in the C language. A list of 32 keywords in the c language is given below: auto break case char const continue default do double else […]

Data Types in C

Data Types in C A Data Types in C specifies the type of data that a variable can store such as integer, floating, character, etc. There are the following data types in C language. Types Data Types Basic Data Type int, char, float, double Derived Data Type array, pointer, structure, union Enumeration Data Type enum […]

Variables in C

Variables in C: A variable in C is a name of the memory location. It is used to store data. Its value can be changed, and it can be reused many times. It is a way to represent memory location through symbol so that it can be easily identified. Let’s see the syntax to declare […]

Features of C Programming Language

Features of C : C is the widely used language. It provides many features that are given below. Simple Machine Independent or Portable Mid-level programming language structured programming language Rich Library Memory Management Fast Speed Pointers Recursion Extensible 1) Simple: C is a simple language in the sense that it provides a structured approach (to […]

C Programming Language

C Programming Language The C Programming Language is developed by Dennis Ritchie for creating system applications that directly interact with the hardware devices such as drivers, kernels, etc. C programming is considered as the base for other programming languages, that is why it is known as the mother language. It can be defined in the […]