Structure and Union in C

Structure in C Definition Structure and Union in C is a data structures/variables that store large no. of data items in contiguous memory locations whose individual elements may differ in their datatypes. A structure is a user-defined data type available in C that allows to combining of data items of different kinds. A structure Read more…

Loading

Pointer in C

Introduction of Pointer in C when we declare a variable of any datatype in our program, we refer to that location in memory by a certain name but at the machine level, that location has a memory address, which is used by the OS during the processing. This is done Read more…

Loading

Non-String Function Examples

Example : A Non-String Function Examples or program in C to find the length of a character in a given string without using the string function. Example : A program in C to display the respective ASCII value of a given character. Example : A program in C to display Read more…

Loading

One-Dimensional Array Examples

One-Dimensional Array Examples Example : A One-dimensional Array Examples or program in C to create an array to store ten static values given by the programmer & display them. Example : A C program to create an array to read & display the values in one-dimensional array. Example : Write Read more…

Loading