Most programs need to read and write data to disk based storage systems. Word processor need to store text files, spreadsheets need to store the contents of cells and databases …
Graphic Function In C
Turbo C has a lot of built-in graphics functions that come in use while displaying pixels on the screen. A few of them will be discussed in this blog. Putpixel …
Graphics in c language
What is graphics? The ability to draw pictures in color, in a fraction of a second is one of the most fascinating capabilities of modern computers. Graphics can help the …
String in c
A string constant is one-dimensional array of characters terminated by a null(‘\o\). For Example Each Character in the array occupies one byte of memory and the last character is always …
What is Union in C
Union is similar to structure in that both have several members but a union can hold value in only one of its members at any time. Members are overlaid in …
Structure Function Array Pointer
Structure and Function Structures can also be passed as a parameter to a function. This is a powerful feature that greatly simplifies the use of functions thus writing of well-constructed …
What are Structures?
A structure is a collection of related elements, possibly of different types, having a single name. The elements in a structure can be of the same or different types. But …
Pointer Function Arrays String
Pointers are often passed to a function as arguments This allows data items within the calling part of the program to be accessed by the function, altered within the function, …
What is a pointer in c
A pointer provides a way of accessing a variable ( or a more complex kind of data, such as an array) without referring to the variable directly. The mechanism used …
How to pass an array to a function
In a function definition, a parameter that is declared an array is actually a pointer. When an array is passed, its base-address is passed call-by-reference. The array elements themselves are …