Lec c4 - ComputerProgrammingITAC162. So far we did.

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Computer Programming I TA C162 . So far we did…. Data types, Variables, constants Operators and Expressions Programming Constructs Sequential  Conditional If else, switch   Iterative do while, while, for
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Computer Programming I TA C162 . What Next… Derived Data types Arrays Declarations and Initialization One dimensional Arrays  Two dimensional Arrays Multi dimensional Arrays Character Arrays
Background image of page 2
3 Computer Programming I TA C162 . What are Arrays ? Consider the following program : main() {  int x;  x = 5;  x = 10;  printf (“X = %d”, x); }   Ordinary variables are capable of holding only one value at a    time.  What if we want to store marks of 1000 students ???  We require  ARRAYS
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Computer Programming I TA C162 . Arrays An array is  fixed size   sequenced  collection of elements of the  same   data type  addressable by index or subscript.
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/14/2010 for the course CS SS ZG653 taught by Professor Shanta during the Spring '09 term at Birla Institute of Technology & Science.

Page1 / 12

Lec c4 - ComputerProgrammingITAC162. So far we did.

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online