0% found this document useful (0 votes)
8 views38 pages

PreRequisite DataStructures C Programming

The document outlines a course on Data Structures (CSE242) with a prerequisite of C Programming. It covers various fundamental concepts in C programming, including basic syntax, variables, data types, input/output operations, control statements, arrays, strings, pointers, functions, dynamic memory allocation, structures, unions, enumerations, file handling, preprocessor directives, and common library functions. The course is taught by Mr. Jitendra and Dr. Bharat Bhushan Singh.

Uploaded by

2024293571.navya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views38 pages

PreRequisite DataStructures C Programming

The document outlines a course on Data Structures (CSE242) with a prerequisite of C Programming. It covers various fundamental concepts in C programming, including basic syntax, variables, data types, input/output operations, control statements, arrays, strings, pointers, functions, dynamic memory allocation, structures, unions, enumerations, file handling, preprocessor directives, and common library functions. The course is taught by Mr. Jitendra and Dr. Bharat Bhushan Singh.

Uploaded by

2024293571.navya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 38

Data Structures

CSE242

Prerequisite: C Programming

Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 1
Basic Syntax

Here,

#include <stdio.h>: The header file inclusion to use printf() function.


int main(): The main() function is the entry point of any C program.
printf(“Hello World”): Function to print hello world.
return 0: Value returned by the main() function.

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 2
Variables

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 3
Data Types

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 4
Data Types

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 5
Data Types

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 6
Identifiers

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 7
Keywords

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 8
Basic Input and Output

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 9
Basic Input and Output

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 10
Basic Input and Output

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 11
Format Specifiers

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 12
Escape Sequences

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 13
Operators

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 14
Conditional Statements

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 15
Conditional Statements

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 16
Conditional Statements

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 17
Conditional Statements

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 18
Loops

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 19
Jump Statements

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 20
Example Program

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 21
Arrays

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 22
Example Arrays

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 23
Strings

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 24
Strings

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 25
Pointers

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 26
Functions

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 27
Functions

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 28
Dynamic Memory Allocation

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 29
Dynamic Memory Allocation

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 30
Structure

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 31
Structures

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 32
Union

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 33
Enumeration(enum)

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 34
File Handling

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 35
Preprocessor Directives

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 36
Common Library Functions

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 37
Thank You

06-01-2025 Faculty
Faculty Name:
Name Mr. Jitendra
: Dr. Bharat BhushanSingh 38

You might also like