C Strings | String Functions in C Language

C Strings C strings is nothing but an array of characters (OR char data types). that is terminated by \0 (null character). String in/output:

string.h : Collection of functions for string manipulation. There are two ways to declare string in c language. By string literal By character array Let’s see the example of declaring string by literal.


Continue reading »

C Arrays: How to Declare, Initialize and Access Elements ?

C Arrays C arrays is a collection of data items, with all of the same type and accessed using a common name. A one-dimensional(1-D) array is like a list;  A two dimensional(2-D) array is like a table. In C language there is no limits on the number of dimensions in an array, though specific implementations may. Some texts refer to

Continue reading »

Branching and Looping Statements in C | Decision Making | Control Statements

Branching and Looping in C Language We can control the flow of a program using branching and looping statements in any language. Branching statements give us code which is optionally executable, depending on the outcome of certain tests or you can say certain cases which we can define. Looping statements are used to repetition of a section of code a

Continue reading »

Variable Declaration & Initialization in C Language

C Variables C variables is a named location in a memory where a c program can manipulate the data. Memory location is used to hold the value of the variable. The value of the C variables may get change in the c program. Variables are what make your c programs zoom. C variables might be belonging to any of the data type like

Continue reading »

A Brief History of C Programming Language | History of C Language

History of C Language The History of C Language was devised in the early 1970s by Dennis M. Ritchie an employee from Bell Labs (AT&T). In the 1960s Ritchie worked, with several other employees of Bell Labs (AT&T), on a project called Multics. The goal of the project was to develop an operating system for a large computer that could

Continue reading »