Character SET / ASCII Codes in C Language: The character set is the set of characters that are supported by a programming language like C, C++, or any other language. So, the set of characters supported by a programming language will be the same as the set of characters thatContinue Reading

What will be the output of the below program? #include<stdio.h> int main() { char x[]=”CTutorials”, y[]=”CTutorials”; if(x==y) { printf(“Strings are Equal”); } else { printf(“Strings are not Equal”); } } Output: Strings are not Equal This is because in the above program we are comparing the base address of ‘x’ andContinue Reading

How to pass and return an array from a function in C? Functions make our program modular and maintainable. Big applications can have hundreds of functions. The array is a data structure to store a homogeneous collection of data. Arrays are equally important as functions. In programming, we often useContinue Reading

Multi-Dimensional Array in C Language: An array of arrays is called a multi-dimensional array. In simple words, an array created with more than one dimension (size) is called a multi-dimensional array. The multi-dimensional array can be of a two-dimensional array or three-dimensional array or four-dimensional array or more.  Syntax: type name[size1][size2]…[sizeN];Example: intContinue Reading

One Dimensional Array in C: One dimensional array is an array that has only one subscript specification that is needed to specify a particular element of an array. A one-dimensional array is a structured collection of components (often called array elements) that can be accessed individually by specifying the positionContinue Reading

What are Arrays in C? The array is defined as a collection of similar data elements. If you have some sets of integers, and some sets of floats, you can group them under one name as an array. Method of declaring an array If you want an integer-type array, let’sContinue Reading