/* Fibonacci series using recursion */ #include<stdio.h> #include<conio.h> void main() {
Category: C programs
/* Program to draw pyramid of numbers displaying following Pattern */ /* 1 2 3 4 5 6 7 8 9 10 */
/* Q. program to produce the following form of Floyd’s Triangle. 0 10 010 1010 */ #include<stdio.h> #include<conio.h> void main()
/* This program read n value into array calculate reverse array and display all data in reverse order */ #include<stdio.h> #include<conio.h> void main() {
/* HPSORT.C : PROGRAM TO CREATE A HEAP AND TO SORT A HEAP, HEAP IS STORED IN AN ARRAY */ #include<stdio.h> #include<conio.h> void crheap(int [], int); void processheap(int [],int);
/* This program read a file entered by the user and displays its contents on the screen, fopen function is used to open a file it returns a pointer to structure FILE. FILE is a predefined structure in stdio.h . If the file is successfully opened then fopen returns a pointer to file and if it […]