String in C

String in C

In this tutorial, we will learn about the String in C. String is collection of character but in the background, the string is One-dimensional array is used to which terminates with null character ‘\0’. The null character at the end of the string tells the compiler about the end of the string Initializing a String …

String in C Read More »

Constants in C

In this tutorial, we will learn about Constants in C. Constants are fixed values. It means after defining a variable we can not change value. These fixed values are also called literals. Defining Constants in C: There are two simple ways in C to define constant − Using #define preprocessor. Using const keyword. The #define Preprocessor Please check out the …

Constants in C Read More »