Breaking News
You are here: Home / Tag Archives: c programming tutorials

Tag Archives: c programming tutorials

Feed Subscription

History of C Programming Language

History of C Programming Language

History of C Programming Language C is a programming language which born at “AT & T’s Bell Laboratories” of USA in 1972. It was written by Dennis Ritchie. This language was created for a specific purpose : to design the UNIX operating system (which is used on many computers).   Characteristics Easy to learn Middle level Structured language It is Compiled Language so ... Read More »

C Programming introduction

C Programming introduction

C Programming introduction C Program File All the C programs are writen into text files with extension “.c” for example hello.c.   C Compilers When you write any program in C language then to run that program you need to compile that program using a C Compiler which converts your program into a language understandable by a computer. This is called ... Read More »

Input and Output in C

Input and Output in C

Input and Output in C    Input and Output in C Input : In any programming language input means to feed some data into program. This can be given in the form of file or from command line. C programming language provides a set of built-in functions to read given input and feed it to the program as per requirement. ... Read More »

Basic Datatypes in C

Basic Datatypes in C

Basic Datatypes in C Basic Datatypes in C C has a concept of ‘data types’ which are used to define a variable before its use. The definition of a variable will assign storage for the variable and define the type of data that will be held in the location. The value of a variable can be changed any time. C ... Read More »

Variable Types in C

Variable Types in C

Variable Types in C Variable Types in C A variable is just a named area of storage that can hold a single value (numeric or character). The C language demands that you declare the name of each variable that you are going to use and its type, or class, before you actually try to do anything with it. Rules : ... Read More »

Operator Types in C

Operator Types in C

Operator Types in C Operator Types in C What is Operator? Simple answer can be given using expression 4 + 5 is equal to 9. Here 4 and 5 are called operands and + is called operator. C language supports following type of operators. Arithmetic Operators Logical (or Relational) Operators Bitwise Operators Assignment Operators Misc Operators Lets have a look ... Read More »

Using Constants in C

Using Constants in C

Using Constants in C   Constants in C Like a variable, a constant is a data storage location used by your program. Unlike a variable, the value stored in a constant can’t be changed during program execution. It is a fix value which can not be change during the program execution. There are four types of constant 1.       Integer Constant ... Read More »

Flow Control Statements in C

Flow Control Statements in C

Flow Control Statements in C   C – Flow Control Statements C provides two sytles of flow control: Branching Looping Branching is deciding what actions to take and looping is deciding how many times to take a certain action. 1)Branching: if statement This is the most simple form of the branching statements. if the Condition  is true then the statement ... Read More »

C Programming Paper solution OCTOBER/NOVEMBER 2007

C Programming Paper solution OCTOBER/NOVEMBER 2007

C Programming Paper solution OCTOBER/NOVEMBER 2007 Q:-1 Answer the following:   (a)  Compare the following in terms of their functions, the following pair of statements. (i)  Break Vs Continue  Break Continue Break statement is use to break the loop. Continue statement is used to continuethe loop. Syntax:-             break; Syntax:-             continue; When a break statement is encounteredinside the loop, the loop ... Read More »

C Programming Paper solution OCTOBER/NOVEMBER 2008

C Programming Paper solution OCTOBER/NOVEMBER 2008

C Programming Paper solution OCTOBER/NOVEMBER 2008 Q-1 Answer following briefly: (i) How can you declare a variable as constant? Answer: To do this, one declares a constant as if it was a variable but add ‘const’ before it. One has to initialize it immediately in the constructor because, of course, one cannot set the value later as that would be ... Read More »

Scroll To Top