Foundational Zone (Beginner Level)
Introduction to C
What is Programming? Programming is the process of creating instructions for a computer to perform specific tasks. It is done using programming languages like C, Python, Java, etc. 📌 Purpose: 2. Introduction to C C is a powerful, general-purpose programming
Builder Zone (Intermediate Level)
Builder Zone in C
1. ✅ Functions in C Functions are reusable blocks of code that perform a specific task. 🔹 User-defined Functions: You create your own functions apart from the built-in ones. 📘 Example: cCopyEdit#include <stdio.h> void greet() { printf(“Hello, Keshab!\n”); } int
Architect Zone (Advanced Level)
Architect Zone in C
1. Dynamic Memory Allocation Dynamic Memory Allocation is a process in C where memory is allocated during runtime (i.e., while the program is running), rather than at compile time. It allows you to allocate memory at runtime using functions from
Beginner level question
Beginner Level (Level 1)
1.Write a program to print “Hello, World!” on the screen. 2.Write a program to add two integers. 3.Write a program to find the largest of two numbers. 4.Program to check if a number is even or odd. 5.Program to find
Intermediate level question
Intermediate Level (Level 2)
Focus: Functions, arrays, string operations, user-defined logic. 1. Write a function to calculate the factorial of a number using recursion. cCopyEdit#include <stdio.h> int factorial(int n) { if (n == 0) return 1; return n * factorial(n – 1); } int
Advanced level question
Advanced Level (Level 3)
Write a program to swap two numbers using pointers. cCopyEdit#include <stdio.h> void swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; } int main() { int x = 5, y = 10; swap(&x, &y);