Module 1 — C foundations · Introduction to C
Introduction to C
Programming · Explain → Code → Try → Output → Practice → Quiz
What you will learn
- Source → compile idea → run
- main is the starting function
- Classroom C is a subset, not gcc
What will you learn?
C is the language many college labs still start with, and it explains how a program talks to the machine in small steps.
The core idea
C is a compiled language: you write source, a compiler turns it into a program, then the machine runs it. A first program has #include <stdio.h>, int main(), printf, and return 0. This Sharda LMS has no video; the coding lab is a tiny classroom interpreter, not gcc on the application server. Completing this course does not make you a systems programmer.
Key points
- Source → compile idea → run
- main is the starting function
- Classroom C is a subset, not gcc
Example
A CSC fee slip that prints 30 is the same idea as printf("%d", 10 + 20) — show a number, then stop.
#include <stdio.h>
int main() {
printf("hello");
return 0;
}
Try this
- Name the function where a beginner C program starts.
Practice
Name the function where a beginner C program starts.
Question 1
The Sharda coding lab for C is…
Summary
Labs run a small interpreter on purpose. There is no video in this LMS.
Summary
Labs run a small interpreter on purpose. There is no video in this LMS.

