C

Simple C programs

Simple C programs

In this example, we will learn to print “Hello, World” The #include is a preprocessor command that tells the compiler to include the contents of stdio.h (standard input and output) file in the program. This is a standard input-output file that contains the definitions of common input-output functions such as scanf() and printf(). In the …

Simple C programs Read More »

Basic Structure of C

Basic Structure of C

C program basically consists of the following parts:− preprocessor directives Section Definition section Main Function Section Variables Section Comments Section Sub Program Section preprocessor directives Section:- This part of the code is used to declare all the header files that will be used in the program. The first line of the program #include <stdio.h> is …

Basic Structure of C Read More »

Features of C Language

Features of C Language

C is a procedural programming language that is simple, and flexible to use. It was mainly developed as a system programming language to write an operating system. It is a structured programming language that is machine-independent. The main features of C language include low-level access to memory, a simple set of keywords, that makes C language …

Features of C Language Read More »

History of C Language

History of C Language

C Language is developed by Dennis Ritchie in between 1972 and 1973 , at the Bell Telephone Laboratories to develop the UNIX operating system. The UNIX OS was totally written in C. It was developed to overcome the problems of previous languages such as B, BCPL, etc. It inherits many features of previous languages such as …

History of C Language Read More »

C Programming Introduction

C Programming Introduction

C is a general-purpose, procedural, imperative programming language.  It can be used to develop software like operating systems, databases, compilers. C programming is considered as the base for other programming languages. C Language is developed by Dennis Ritchie in 1972, at the Bell Telephone Laboratories to develop the UNIX operating system. It can be used …

C Programming Introduction Read More »

Scroll to Top