Programming in C (C11) Fundamentals

Duration : 6 Days (48 Hours)

Programming in C (C11) Fundamentals Course Overview:

The current standard for the C programming language is C11, denoted as ISO/IEC 9899:2011, replacing its predecessor C99. This course employs live-code techniques to teach both the C Standard Library and the C language.

C11 primarily standardizes previously supported characters by modern compilers, introducing an extensive memory model for enhanced management of multiple threads of execution.

The influential C language remains widely popular, especially among small device and game developers. Course objectives encompass understanding compilers and high-level computer languages, language standards, debugging, data variables and constants, data types, pitfalls, and arguments. Participants will also gain proficiency in the C preprocessor, constants, exploring scanf() and printf(), grasping operator basics, the comma operator, input validation, multidimensional arrays, and ANSI C type qualifiers.

Intended Audience:

  • Beginner programmers
  • Students studying computer science or related fields
  • Aspiring software developers
  • Anyone new to programming and wanting to learn C
  • Individuals interested in learning the fundamentals of C programming
  • Those seeking to build a strong foundation in programming concepts
  • Professionals from non-programming backgrounds looking to acquire coding skills
  • Hobbyists and enthusiasts eager to learn C programming
  • Anyone looking to expand their programming language repertoire to include C
  • Beginners aiming to understand variables, loops, conditionals, and other core programming concepts.

Learning Objectives of Programming in C (C11) Fundamentals:

The “Programming in C (C11) Fundamentals” course is designed to achieve the following objectives:

  1. Introduction to C Programming: Provide participants with a solid foundation in the fundamentals of the C programming language, including syntax, variables, data types, and basic program structure.
  2. Control Flow: Teach participants how to use control structures like loops and conditional statements to create logic and make decisions in their programs.
  3. Functions and Modularity: Introduce the concept of functions, how to define and call functions, and the importance of modular programming.
  4. Arrays and Pointers: Familiarize participants with arrays and pointers, essential concepts for managing memory and manipulating data effectively.
  5. Input and Output: Explore methods to interact with the user and external sources through input and output operations, including file handling.
  6. Memory Management: Provide an understanding of dynamic memory allocation and deallocation using malloc, calloc, realloc, and free.
  7. Structures and Unions: Introduce the concept of structures and unions for organizing related data items into more complex data structures.
  8. Strings and String Functions: Teach participants how to work with strings and use common string manipulation functions.
  9. Preprocessor Directives: Cover the use of preprocessor directives for conditional compilation, file inclusion, and macro definition.
  10. Error Handling and Debugging: Explore techniques for error handling, debugging tools, and strategies to troubleshoot and rectify issues in C programs.
  11. Best Practices and Coding Standards: Promote adherence to coding standards and best practices to ensure readability, maintainability, and efficient programming.
  12. Application and Problem-Solving: Provide practical exercises and examples that demonstrate the application of C programming concepts to solve real-world problems.

By the end of the course, participants should have a solid understanding of the core concepts of C programming, enabling them to write, compile, and debug basic C programs and lay a strong foundation for further learning and development in the language.

 Module 1: Getting Started

  • Whence C?
  • Why C?
  • Whither C?
  • What Computers Do
  • High-level Computer Languages and Compilers
  • Language Standards
  • Using C: Seven Steps
  • Programming Mechanics

 Module 2: Introducing C

  • A Simple Example of C
  • The Example Explained
  • The Structure of a Simple Program
  • Tips on Making Your Programs Readable
  • Taking Another Step in Using C
  • While You’re at It—Multiple Functions
  • Introducing Debugging
  • Keywords and Reserved Identifiers
  • Key Concepts
  • Programming Exercises

 Module 3: Data and C

  • A Sample Program
  • Data Variables and Constants
  • Data: Data-Type Keywords
  • Basic C Data Types
  • Using Data Types
  • Arguments and Pitfalls
  • One More Example: Escape Sequences
  • Key Concept
  • Programming Exercises

 Module 4: Character Strings and Formatted Input/Output

  • Introductory Program
  • Character Strings: An Introduction
  • Constants and the C Preprocessor
  • Exploring and Exploiting printf() and scanf()
  • Key Concepts
  • Programming Exercises

 Module 5: Operators, Expressions, and Statements

  • Introducing Loops
  • Fundamental Operators
  • Some Additional Operators
  • Expressions and Statements
  • Type Conversions
  • Function with Arguments
  • A Sample Program
  • Key Concepts
  • Programming Exercises

 Module 6: C Control Statements: Looping

  • Revisiting the while Loop
  • The while Statement
  • Which Is Bigger: Using Relational Operators and Expressions
  • Indefinite Loops and Counting Loops
  • The for Loop
  • More Assignment Operators: +=, -=, *=, /=, %=
  • The Comma Operator
  • An Exit-Condition Loop: do while
  • Which Loop?
  • Nested Loops
  • Introducing Arrays
  • A Loop Example Using a Function Return Value
  • Key Concepts
  • Programming Exercises

 Module 7: C Control Statements: Branching and Jumps

  • The if Statement
  • Adding else to the if Statement
  • Let’s Get Logical
  • A Word-Count Program
  • The Conditional Operator: ?:
  • Loop Aids: continue and break
  • Multiple Choice: switch and break
  • The goto Statement
  • Key Concepts
  • Programming Exercises

 Module 8: Character Input/Output and Input Validation

  • Single-Character I/O: getchar() and putchar()
  • Buffers
  • Terminating Keyboard Input
  • Redirection and Files
  • Creating a Friendlier User Interface
  • Input Validation
  • Menu Browsing
  • Key Concepts
  • Programming Exercises

 Module 9: Functions

  • Reviewing Functions
  • ANSI C Function Prototyping
  • Recursion
  • Compiling Programs with Two or More Source Code Files
  • Finding Addresses: The & Operator
  • Altering Variables in the Calling Function
  • Pointers: A First Look
  • Key Concepts
  • Programming Exercises

 Module 10: Arrays and Pointers

  • Arrays
  • Multidimensional Arrays
  • Pointers and Arrays
  • Functions, Arrays, and Pointers
  • Pointer Operations
  • Protecting Array Contents
  • Pointers and Multidimensional Arrays
  • Variable-Length Arrays (VLAs)
  • Compound Literals
  • Key Concepts
  • Programming Exercises

 Module 11: Character Strings and String Functions

  • Representing Strings and String I/O
  • String Input
  • String Output
  • The Do-It-Yourself Option
  • String Functions
  • A String Example: Sorting Strings
  • The ctype.h Character Functions and Strings
  • Command-Line Arguments
  • String-to-Number Conversions
  • Key Concepts
  • Programming Exercises

 Module 12: Storage Classes, Linkage, and Memory Management

  • Storage Classes
  • A Random-Number Function and a Static Variable
  • Roll ’Em
  • Allocated Memory: malloc() and free()
  • ANSI C Type Qualifiers
  • Key Concepts
  • Programming Exercises

 Module 13: File Input/Output

  • Communicating with Files
  • Standard I/O
  • A Simple-Minded File-Condensing Program
  • File I/O: fprintf(), fscanf(), fgets(), and fputs()
  • Adventures in Random Access: fseek() and ftell()
  • Behind the Scenes with Standard I/O
  • Other Standard I/O Functions
  • Key Concepts
  • Programming Exercises

Programming in C (C11) Fundamentals Course Prerequisites:

For the Programming in C (C11) Fundamentals course, the following prerequisites are recommended:

  • Basic familiarity with computer operation and software usage
  • No prior programming experience required
  • Willingness to learn and engage in coding exercises
  • Basic understanding of logical and mathematical concepts
  • Basic problem-solving skills
  • Comfort with fundamental computer terminology and concepts

Discover the perfect fit for your learning journey

Choose Learning Modality

Live Online

  • Convenience
  • Cost-effective
  • Self-paced learning
  • Scalability

Classroom

  • Interaction and collaboration
  • Networking opportunities
  • Real-time feedback
  • Personal attention

Onsite

  • Familiar environment
  • Confidentiality
  • Team building
  • Immediate application

Training Exclusives

This course comes with following benefits:

  • Practice Labs.
  • Get Trained by Certified Trainers.
  • Access to the recordings of your class sessions for 90 days.
  • Digital courseware
  • Experience 24*7 learner support.

Got more questions? We’re all ears and ready to assist!

Request More Details

Please enable JavaScript in your browser to complete this form.

Subscribe to our Newsletter

Please enable JavaScript in your browser to complete this form.
×