SOME C PROGRAMS (As discussed in Youtube live on 16/04/2023)
PROGRAMS 1. Program to read and display the string. #include<stdio.h> #include<conio.h> void main() { char n[20]; clrscr(); printf(""Enter your nane :"); scanf("%s",n); printf("\nEntered value of string is %s",n); getch(); } ________________________________________________________________________________ 2. Program to copy one string to another string #include<stdio.h> #include<conio.h> #include<string.h> void main() { char m[20],n[20]; clrscr(); printf(""Enter First String:"); scanf("%s",m); strcpy(n,m); printf("\nNow after copy second string is %s",n); getch(); } __________________________________________________________________________________ 3. Program to compare two strings (With Case sensitivity) #include<stdio.h> #include<conio.h>...