#include #include void main() { clrscr(); int n,i,j,temp,a[50]; printf("\nEnter how many elements="); scanf("%d",&n); printf("\nEnter %d elements",n); for(i=0;i … [Read more...]
The C Programmers Hierarchy (humor)
Noviceputs "#include " in his code, but is not sure why has heard of pointers, but has never seen oneUseruses the following macros:#define BEGIN {#define END ;}has had a bad experience with pointersknows the difference between ' and " Knowledgeable useruses:if(a==b)c = 1;elsec = 0;uses … [Read more...]
#1 Binary “search” with duplicates
How about a weekly programming challenge? Are you guys interested?I will set the ball rolling & continue posting new challenges as long as there is interest & i have time. BTW, others are welcome to post challenges too!Todays challenge:// Employee detailsstruct {char name[8];int id;} Employee;// … [Read more...]
C Programs about Input Is integer , character , capital alphabet etc
Reads a character and check its integer, capital character , symbol etc...#include< conio.h >#include< stdio .h >main(){int a;printf("\n Press A key ");scanf("%c",&a);if((a>=48)&&(a=65)&&(a=97)&&(a … [Read more...]
How to Create A C program without Semicolon?
if you know answer please post on comments..i will post after your answer.. … [Read more...]
How to print “\n” slash N in a “C PROGRAM”

hello friends This is the program to print /n as output its very easy #include < stdio.h >void main() { printf("\\n"); getch(); } this program will print /n as output. … [Read more...]
Very nice Library C Project with Source Code

This is a C programming code by which a librarian can operate his library more fast. Students details can be added, updated and can issue multiple books. Progam shows different information about library including numbers of books and students. Books can also be added and updated. Books can be added … [Read more...]

