Tag Archives: C programming

C programming tutorials for Beginners – C switch Statement

(C Programming Tutorials) C switch Statement In this tutorial, you will learn to create the switch statement in C programming with the help of an example. The switch statement allows us to execute one code block among many alternatives. You can do the same thing with the if…else..if ladder. However, the syntax of the switch statement is much easier …

C programming tutorials for Beginners – C Data Types

(C Programming Tutorials) C Data Types In this tutorial, you will learn about basic data types such as int, float, char etc. in C programming. In C programming, data types are declarations for variables. This determines the type and size of data associated with variables. For example, int myVar; Here, myVar is a variable of int (integer) type. The …

C programming tutorials for Beginners – C Variables, Constants and Literals

(C Programming Tutorials) C Variables, Constants and Literals In this tutorial, you will learn about variables and rules for naming a variable. You will also learn about different literals in C programming and how to create constants. Variables In programming, a variable is a container (storage area) to hold data. To indicate the storage area, …