c example – Eduguru – Good Blogging

C Program find whether a Number is Prime Or Composite using Recursion

C Program find whether a Number is Prime Or Composite using Recursion Prime Number: A number that is only divisible by

Read more

C program to find the length of a String without using function strlen()

#include <stdio.h> int main() { char str[100],i; printf(“Enter a string: \n”); scanf(“%s”,str); for(i=0; str[i]!=’\0′; ++i); printf(“\nLength of input string: %d”,i);

Read more

C switch case program to read weekday number and print weekday name

C switch case program to read weekday number and print weekday name This program will read weekday number (0-6) and print

Read more