C Tutorial

C Programming Tutorial
C Programming Tutorial

Welcome to the C Knowledge Base and Tutorial

 

Linear search program in c

Linear search program in c   #include <stdio.h> int main() { int array[100], search, c, n; printf(“Enter number of elements
Read More »

C program to delete an element from an array

C program to delete an element from an array  
Read More »

Sorting program in c

Sorting program in c /* * C program to accept N numbers and arrange them in an ascending order */
Read More »

Write a program to convert temperature Fahrenheit to Centigrade

Write a program to convert temperature Fahrenheit to Centigrade Input temperature in fahrenheit from user. Store it in some variable
Read More »

C program to reverse words in a string

C program to reverse words in a string This profram will invert each word occurring in the input string. Algorithm is
Read More »

C program to draw circles in circles

C program to draw circles in circles #include<graphics.h> #include<conio.h> #include<dos.h> main() { int gd = DETECT, gm, x, y, color,
Read More »

traffic light program in c

Traffic light program in c #include<graphics.h> #include<conio.h> #include<dos.h> #include<stdlib.h> main() { int gd = DETECT, gm, midx, midy; initgraph(&gd, &gm,
Read More »

C program to open a website url

C program to open a website url This program will launch Mozilla Firefox web browser to open a website so
Read More »

C program to draw a 3D bar chart

C program to draw a 3D bar chart #include <graphics.h> #include <conio.h> int main() { int gd = DETECT, gm;
Read More »

Bar chart program in c

Bar chart program in c Chart is drawn using bars filled with different styles and in different colors. #include <graphics.h>
Read More »

Paint program in c language

Paint program in c language   This program can draw different shapes using mouse such as line, circle, pixel and
Read More »

Drawing concentric circles - C graphics examples

Drawing concentric circles – C graphics examples   #include <graphics.h> int main() { int gd = DETECT, gm; int x
Read More »

C graphics programming

C graphics programming     #include <graphics.h>   #include <conio.h>    int main()   {       int gd = DETECT, gm;      initgraph(&gd, &gm,”C:\\TC\\BGI”);
Read More »

comment in c program

comment in c program   Example – comments in a program #include <stdio.h>   int main()   {      //
Read More »

C Program to Check Whether a Character is Vowel or Consonant

C Program to Check Whether a Character is Vowel or Consonant The five alphabets A, E, I, O and U
Read More »

Older Entries » For any query or issue, feel free to discuss on http://discuss.eduguru.in