Category Archives: C

Difference between C and C++

1. C language : C was developed by Dennis Ritchie between the year 1969 and 1973 at AT&T Bell Labs to write Operating System. It is a procedural programming language and does not support classes and objects. 2. C++ language : C++ was developed by Bjarne Stroustrup in 1979. It has imperative, object-oriented and generic programming features. C++… Read More »

Identifier Naming rules in C language

Prerequisite – C Language Introduction In C any name is called identifier. This name can be: 1. Variable name 2. Function name 3. Enum constant name 4. Micro constant name 5. Goto label name And, any other data type name like, 6. Structure 7. Union 8. Enum names or Typedef name These are following rules that should follow:… Read More »

What is stdio.h and why do we use?

stdio.h is a header file in the C Standard Library, which is commonly used in C programming. It stands for “Standard Input/Output Header”. This header file defines a set of functions and macros that provide input and output capabilities for C programs. Some of the most commonly used functions in stdio.h are printf, scanf, fopen, fclose, fread, fwrite,… Read More »

C Variables and its properties

Prerequisite – Introduction to C programming language, Variables in C Variable is named location of data. In other words, variable is container of data. In real world we have used various type containers for specific purpose. For example, we have used suitcase to store clothes, match box to store match sticks etc. In the same way, variable of… Read More »

Known Versions of C programming language

Basically, C was originally developed at Bell Labs by Dennis Ritchie between 1972 and 1973 to make utilities running on Unix. It is being updated, there are various known versions of C programming language. These are various published Versions of C++. Versions : Version Standard Release Date Description Birth Birth 1972 First version release year in 1972 K&R… Read More »