2nd semister Unit-2 C programming notes
2nd semister Unit-2 C programming notes
Unit-II: Structures and Union & File Handling:
Structures and Union:
- Definition and declaration of structure and union
- difference between structure
- and union
- Array of structures
- Passing structure to function
- Pointer to structure
- Nested structure
- selfreferential structure
File Handling:
- Introduction
- Standard input- get char(), getch(), getche(), Standard output- putchar(), putch(), putche()
- Formatted input- scanf(), sscanf(), fsclose(),File modes
- Text and binary mode
Macros and Preprocessing:
- Features of C pre-processor
- Macro – Declaration
- Expansion
- File Inclusion
0 Comments