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

Structure in C programming

Structure is a group of variables of different data types represented by a single name. Lets say we need to

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 Program to calculate Area of Equilatral triangle

#include<stdio.h> #include<math.h> int main() { int triangle_side; float triangle_area, temp_variable; printf(“\nEnter the Side of the triangle:”); scanf(“%d”,&triangle_side); temp_variable = sqrt(3)

Read more