EEE Dept Engineering Topics List

C Programming - Advanced Features | C Programming and Data Structures

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

C Programming and Data Structures: Unit II: C Programming – Advanced Features : Two Marks Questions with Answers

Definition, Syntax, Example C programs

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

• Pre-processing is a separate step applied on the source file before presenting it to compilation process.

Definition, Syntax, Example C programs

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

• Definition: File is a collection of records. In generalized form, a file of size n has n records in sequence where each record is a collection of one or more fields.

Syntax, Example C programs

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

Thus instead of actual value, the address is passed as a parameter to the function hence it is called parameter passing by address.

Example C programs

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

We can access the string by using the pointer variable. Here is a simple C program that illustrates the use of pointer for string.

Definition, Syntax, Advantages, Initializing, Example C programs

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

Pointers to Variables - Advantages of Pointers - Initialization - Accessing Variable through Pointer - Pointer Arithmetic

Definition, Syntax, Example C programs

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

• Defintion: The enum is an abbreviation used for enumerated data type. When this keyword is used we can basically initialize the sequence of integer constants.

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

Difference between Data Type, Structures and Unions

Definition, Syntax, Initializing, Example C programs

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

Definition: Union is a user defined data structure which is just similar to structure. It is used to store members of different data types.

Definition, Syntax, Initializing, Example C programs

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

Definition: A structure is a group of items in which each item is defined by some identifier. These items are called members of the structure. Thus structure is a collection of various data items which can be of different data types.

Subject and UNIT: C Programming and Data Structures: Unit II: C Programming – Advanced Features

C Programming and Data Structures: Unit I: C Programming – Advanced Features : Syllabus, Contents

C Programming Fundamentals | C Programming and Data Structures

Subject and UNIT: C Programming and Data Structures: Unit I: C Programming Fundamentals

C Programming and Data Structures: Unit I: C Programming Fundamentals : Two Marks Questions with Answers