Friday, December 25, 2009

Programming Language 'C'

UNIT-III

Character arrays and strings:-

Introduction – Declaring and string variables – Reading string from determinant – writing strings to screen – string handling functions – table of strings.

User-defined functions:-

Introduction – need for used defined function – a multifunction program – elements of user defined function – return values and there types – functions called – function declaration.

Categories of function:-

Functions with no argument and no return values – functions with argument and no return value – functions with no argument and one return value – functions with argument and one return value – functions with no argument but return value – functions that return multiple values – nesting of value – recursion – passing arrays functions – passing strings to function – the scope – visibility and life time of variables.

Structure and unions:-

Introduction – defining a structure – declaring structure variable – accessing structure members – structure copying and comparing – structure variable – operation on members arrays of structures – arrays with in structure - structure with in structure – structure and function – unions – size of structure bit fields.

No comments:

Post a Comment