Two basic topics that every programmer in C should be familiar with is Format specifier and Escape sequences. Escape sequences allow the user to access certain functionalities that
In order to keep C Programming language compact, Dennis Ritchie removed anything related to the input or output from the definition of the language. Therefore, C has no
An array is known as the contiguous run of elements while a pointer is an address pointing variable. A pointer could represent the same array. int arr[5]; int
In C programming all the input-output functions provided under C standard are thread safe. But, POSIX standard provides Multi-thread unsafe functions such as getchar_unlocked(). This method is faster
In the previous tutorial, we saw how a user can store a number of characters in a file using the function fputc() along with some other basic operations on
In our previous tutorials, we have discussed on Files and all different types of modes and what is their meaning for Files in C programming language. Now, we will
A File is an object that stores data, information, settings or commands. These files can be of different types which are generally used for different purposes. C Programming Language
We have already seen how structures are so useful in storing data which belong to different data types under the same name. Apart from being used in maintaining
Structures are user-defined datatypes that can store data of any type under the same name. It has many advantages over an array. Read how to create & access