In this post, I will discuss about Writing to a File in C using a function, File Opening Modes in C, String (line) I / O in Files: in C programming, Record Input-Output Files using C program, Text Files and Binary Files in C programming, Text versus Binary Mode files- Newlines in C programming, End of File read in Text Mode and Binary mode files and Time versus Binary Mode- … [Read more...]
Unformatted Console I/O Functions, Gets, Puts In C Language
In this post, I will discuss about Unformatted Console I/O Functions, Using gets( ) and puts( ) in C programming, File Operations: A program to display content of file, Opening a File using function in C, File handling and File allocation concepts and Reading from a File in C programming language. Unformatted Console I/O Functions: Unformatted console I/O are the function … [Read more...]
Structure Declaration, Console Input Output Functions In C
In this post, I will discuss about Important Points for Declaring a Structure, How Structure Elements are Stored, Array of Structures, Types of Input / Output, Console Input-Output Functions, Formatted Console Input / Output Functions, Format Specification, Optional Format Specifiers, and Escape Sequences in C language. Important Points for Declaring a Structure: Below … [Read more...]
Strings, scanf, Standard Library Functions In C Language
In this post, I will discuss about strings, Program to Demonstrate Printing of a String, %s Format Specifier, scanf( ), Standard Library String Functions in C, strlen( ) function, strcpy( ) function, Function to concatenate a string, Function of comparison of two stings in C, Structure (Grouping of data type together in C), and Declaring a Structure in C programming. What … [Read more...]
Array Initialization, Two And Three Dimensional Arrays in C
In this post, I will discuss Array Initialization, Array Elements in Memory, Bounds Checking, Passing Array Elements to a Function, Passing an Entire Array to a Function, Two Dimensional Array, Array of Pointers, Arrangement of the Array of Pointers in Memory and Three-Dimensional Array in C language. Array Initialization: We will be discussing in this article about … [Read more...]
Pointer Notation, Recursion, Integers, Chars in C language
In this post, I will describe about Pointer Notation, Recursion, Recursive Function Program to Calculate Factorial, Integers, long and short, Integers, signed and unsigned, Chars, signed and unsigned, Floats and Doubles and Register Storage Class. Pointer Notation: We are declaring the variable, int x = 10 ; to compiler declared variable means: (a) Memory space is … [Read more...]