Category

C Tutorial

Category

String can be represented as a single-dimensional character type array. Strings in C are group of characters, digits, and symbols enclosed in quotation marks or simply we can…

An array is a collection of similar kind of data elements stored in adjacent memory locations and are referred to by a single array-name. The first element in the…

Loop control statements are used when a section of code may either be executed a fixed number of times. C gives you a choice of three types of…

C has three major decision making instructions— the if statement, the if-else statement, and the switch statement. The if Statement It is used to execute an instruction or sequence or block of instructions only…

Variables A variable is a named location in memory that is used to hold a value that can be modified by the program. All variable must be declared…

A Brief History Of C C was invented and first implemented by Dennis Ritchie on a DEC PDP-11 that used the Unix operating system. C is the…

To store data inside the computer we need to first identify the type of data elements we need in our program. There are several different types of data, which…

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…