Arrays in C Programming Language

arrays-in-c-programming-language

An array is a sequence of data in memory, wherein all data are of the same type and are placed in physically adjacent locations. Thus array is a collective name given to the group of similar types and quantities. Array declarations: Syntax e.g. Accessing array elements once an array is declared, we refer the individual … Read more

Control structures in C

basic c programs for beginners

The control structures determine the order in which the various instructions in a C program are to be executed. In other words, they determine the flow of control in a C program. The different control structures are as follows: Sequential control structure Conditional branching structure Unconditional branching structure Loop structure Sequential control structure This type … Read more

The layout of a C program

layout of a c program

The general form of a C program is as follows: pre-processor directives global declarations main() { local variables to function main; statements associated with function main; } fun1() { local variables to function fun1; statements associated with function fun1; } fun2() { local variables to function fun2; statements associated with function fun2; } All C … Read more

About C language – A brief Introduction

about c languge

As a programming language, c is rather like Pascal or FORTRAN. Values are stored in variables. Programs are structured by defining and calling functions. Program flow is controlled using loops if statements and functions. input and output can be directed to the terminal or to files. related data can be stored together in arrays or … Read more

Programming development cycle in C Language

programming development cycle in C

A program is a set of instruction to be executed by the computer to accomplish a particular task. It is a multi-step process involving identification and definition of a problem, developing computer solutions for the same and preparing a sequence of instruction that can be run on the computer. While writing a program one has … Read more