C Programming

Submitted by: 
This C program requests only two inputs from the user i.e Radius and the height of the cylinder. Then it will automatically output the volume of the cylinder. For more information and more source code contact me. [email protected]
Submitted by: 
Writing in a File In this part you will learn: 1. C syntax 2. Filing 3. Writing to a File In this tutorial we will learn about filing in C. Filing is a very important tool in C. In this program we will write data in a file. We will take input from the user and write that data in a file whose name will be entered by the user. Writing in a File Basic Step: Open Dev C++ then File > new >...
Submitted by: 
Reading From a File In this part you will learn: 1. C syntax 2. Filing 3. Reading from a file In this tutorial we will learn about filing in C. Filing is a very important tool in C. In this program we will read a file from our computer and display its content on the screen. We will ask the user the name of the file and then we will fetch data from that file and store it somewhere in the program...
Submitted by: 
Structures in C In this part you will learn: 1. C syntax 2. Structure variable 3. Structure declaration 4. Structure accessing 5. Showing output What is a Structure? Structure is a user-defined data type in C which allows you to combine different data types to store a particular type of record. Structure helps to construct a complex data type in a more meaningful way. Structure helps when you...
Submitted by: 
Functions and Pointers In this part you will learn: 1. C syntax 2. Pointers 3. Pointers declaration 4. Function arguments as pointers 5. Showing output In this tutorial we will use pointers with functions. Using functions with pointers is same as using functions with any normal variable. The only difference comes in the parameter list and sometimes in the return type as well when we return a...
Submitted by: 
Introduction to Pointers In this part you will learn: 1. C syntax 2. Pointers 3. Pointers declaration 4. Showing output What is a Pointer? Whenever we declare variable our computer stores it in at a memory location in the memory. A unique address is assigned to every variable made by the user either its on run time or compile time. We use pointers to access those address whenever we want to and...
Submitted by: 
Learning More about Functions In this part you will learn: 1. C syntax 2. Functions 3. Function Calling 4. Function definition 5. Function prototype 6. Recursive Functions 7. Showing output What is Recursion? Recursion is a process of repeating of items in a self-similar way. A recursive function is a function that calls itself and this technique is known as recursion in C programming. Recursion...
Submitted by: 
Introduction to Functions In this part you will learn: 1. C syntax 2. Functions 3. Function Calling 4. Function definition 5. Function prototype 6. Showing output What is a Function? In C, a function is a group of statements that together performs a task. Every C program has at least one function called the ‘main()’ function. It is the heart of the program. Functions divide your code into...
Submitted by: 
2 Dimensional Arrays In this part you will learn: 1. C syntax 2. 2D arrays 3. Nested for loops 4. Showing output In this tutorial I will teach you about 2D arrays. 2D arrays can be called array of arrays. First we had a single array that was in just one single dimension and we accessed its elements by writing the index in the subscript. In 2d arrays we have arrays that go in both direction. So...
Submitted by: 
Introduction to Arrays In this part you will learn: 1. C syntax 2. Arrays 3. Showing output In this tutorial I will teach you about Arrays. Arrays are of extreme importance and use in C. Arrays are used when you want to create many variables of the same data type. Like if you want to note the grades of 100 students in a class you cannot take hundred character variables. It will be very lengthy...

Pages