Before Moving Ahead with the Programming In C tutorials, Lets have a look at what we will learn in these Topics.
By the end of this Subject, we will be able to learn:
By the end of this Subject, we will be able to learn:
Brief History of C The C programming language is a structure oriented programming language, developed at Bell Laboratories in 1972 by Dennis Ritchie. C programming Read More »
The structure of a C program is a protocol (rules) to the programmer, which he has to follow while writing a C program. The general Read More »
Source File- This file contains the source code of the program. The file extension of any c file is .c. The file contains C source Read More »
Every language has some basic elements & grammatical rules. Before starting with programming, we should be acquainted with the basic elements that build the language. Read More »
Variables are names that are used to store values. It can take different values but one at a time. A data type is associated with Read More »
When we are saying Input that means we feed some data into program. This can be given in the form of file or from command Read More »
Data can be entered & displayed in a particular format. Through format specifications, better presentation of results can be obtained Variations in Output for integer Read More »
An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. C language is rich in built-in operators and provides Read More »
In C, ++ and – are called increment and decrement operators respectively. Both of these operators are unary operators, i.e, used on single operand. ++ Read More »
Operator precedence determines the grouping of terms in an expression. This affects how an expression is evaluated. Certain operators have higher precedence than others; for Read More »
In C, programs are executed sequentially in the order of which they appear. This condition does not hold true always. Sometimes a situation may arise Read More »
while statement The while statement is used when the program needs to perform repetitive tasks. The general form of a while statement is: while ( Read More »
The break Statement The break statement provides an early exit from for, while, and do, just as from switch. A break causes the innermost enclosing Read More »
MONOLITHIC VS MODULAR PROGRAMMING: Monolithic Programming indicates the program which contains a single function for the large program. Modular programming help the programmer to divide Read More »
There are four main categories of the functions these are as follows: 1. Function with no arguments and no return values. 2. Function with no Read More »
Actual Arguments: 1. Arguments which are mentioned in the function in the function call are known as calling function. 2. These are the values which Read More »
Recursion is a process in which a problem is defined in terms of itself. In ‘C’ it is possible to call a function from itself. Functions Read More »
Every repetitive problem can be implemented recursively or iteratively Recursion should be used when the problem is recursive in nature. Iteration should be used when the problem Read More »
To completely define a variable one needs to mention its type along with its storage class. In other words we can say not only variables have Read More »
Introduction A data structure is the way data is stored in the machine and the functions used to access that data. An easy way to Read More »
Arrays that we have considered up to now are one dimensional array, a single line of elements. Often data come naturally in the form of Read More »
1-d arrays using functions Passing individual array elements to a function We can pass individual array elements as arguments to a function like other simple variables. Read More »
A string is a series of characters treated as a single unit. A string may include letters, digits and various special characters such as +, -, Read More »
strcpy(): It is used to copy one string to another string. The content of the second string is copied to the content of the first string. Read More »
Definition A Structure is a user defined data type that can store related information together. The variable within a structure are of different data types and Read More »
The structure that contains another structure as its members is called a nested structure or a structure within a structure is called nested structure. The structure Read More »
Union is a collection of variables of different data types, in case of union information can only be stored In one field at any one time. Read More »
A pointer is a variable that contains the address of a variable. Pointers are much used in C, partly because they are sometimes the only way Read More »
In C, there is a strong relationship between pointers and arrays, strong enough that pointers and arrays should be discussed simultaneously. Any operation that can be Read More »
If p is a pointer to some element of an array, then p++ increments p to point to the next element, and p+=i increments it to Read More »
How to declare a pointer to a function? Syntax: returntype_of_function (*pointer variable)(List of arguments); For example: int (*p)(int,int); can be interpreted as p is a pointer Read More »
The memory allocation that we have done till now was static memory allocation.. So the memory that could be used by the program was fixed. Read More »
You may recall that the name of an array stands for the address of its zero-th element. Also true for the names of arrays of structure Read More »
A File is a collection of data stored on a secondary storage device like hard disk. File operation is to combine all the input data into Read More »
Copyright © 2024 | ExamRadar. | Contact Us | Copyright || Terms of Use || Privacy Policy
GUEST POSTING AND WRITING FOR US