String Functions in C program

// using strlen length of word eg:wildcat ans: 7 #include<stdio.h> #include<conio.h> #include<string.h> main() { char msg[20]; int len; printf("Input message:"); scanf("%s",msg); { len=strlen(msg); printf("Length of the message=%d",len); } } // using strrev eg: WILDCAT Ans: TACDLIW #include<stdio.h> #include<conio.h> #include<string.h> main() …

Read More........

Library Management System in C Program

#include<windows.h> #include<stdio.h> #include<conio.h> #include <stdlib.h> #include<string.h> //contains strcmp(),strcpy(),strlen(),etc #include<ctype.h> //contains toupper(), tolower(),etc #include<dos.h> //contains _dos_getdate #include<time.h> #define RETURNTIME 15 char catagories[][15]={"Computers","Management","Science","Aviation","Humanities","Architecture"}; void returnfunc(void); void mainmenu(void); void addbooks(void); void deletebooks(void); void editbooks(void); void searchbooks(void); void issuebooks(void); void viewbooks(void); void closeapplication(void); int …

Read More........