C Programming Course – Learn from scratch

C programming course and tutorials for engineers - entc electronics engineering and CS computer science engineering
Content
Details
Updates

data structures with C - installing codeblocks and first C program data structures with C - installing codeblocks and first C program

September 5, 2017

Install Code Blocks, GCC compiler & run your first C program – Windows 10

A guide to properly installing the latest version of CodeBlocks with the GCC compiler and testing it with your first C program.

C programming - installing code blocks on mac os x C programming - installing code blocks on mac os x

Install Code Blocks on Mac OS X and run your first C program

A guide to properly installing the latest version of Code Blocks on Mac OS with the GCC compiler and testing it with your first C program.

C programming - how to use code blocks C programming - how to use code blocks

September 10, 2017

How to use Code Blocks – Familiarizing yourself with the IDE

As a beginner, if you know how to use Code Blocks, you’ll find yourself comfortable enough to take up more projects and eventually get better.

if, if-else and nested if statements in C if, if-else and nested if statements in C

November 27, 2018

if, if-else and nested if statements in C – Full explanation with examples

Write a program in C to check if the number that the user has entered is even or odd //check whether the number taken from the user is even or odd #include<stdio.h> #include<conio.h> void main() { clrscr(); int i,z; printf(“enter number\n”); scanf(“%d”, &i); z=i%2; if (z==0) { printf(“Number is even”); } else { printf(“Number is […]

While loop in C - c programming course While loop in C - c programming course

While loop in C – Full explanation with examples and tutorials

A while loop in C continuously executes the contents of its loop as long as a condition is true. The syntax for the while loop is as follows while(condition) { statements; } These statements can be of any nature. The important thing is that the loop executes only if the condition statement beside while gives […]

Functions in C, call by reference,call by value -Full explanation & examples Functions in C, call by reference,call by value -Full explanation & examples

November 28, 2018

Functions in C, call by reference,call by value -Full explanation & examples

Write a program to take a number from a user and send it to a function to find and print the cube of the number //send the number into the function and print the cube of the number in the function itself #include<stdio.h> #include<conio.h> void cube(int); void main() { clrscr(); int i; printf(“Enter number for […]

Arrays in C - Full explanation with examples and tutorials - c programming course Arrays in C - Full explanation with examples and tutorials - c programming course

Arrays in C – Full explanation with examples and tutorials

Write a program to store 10 numbers in an array //take input of 10 numbers in array and print them #include<stdio.h> #include<conio.h> void main() { clrscr(); int i, a[10]; printf(“Enter the 10 number of the array\n”); for(i=0;i<10;i++) { scanf(“%d”, &a[i]); } printf(“The elements of the Array are\n”); for(i=0;i<10;i++) { printf(“A[%d]=%d\n”,i,a[i]); } getch(); } Next, write […]

Top