Program to find Factorial of a Number using Recursion
Program to find Factorial of a Number using Recursion #include<stdio.h> // declaring the function int fact(int); int main() { printf(“\n\n\t\tEduguru
Read moreProgram to find Factorial of a Number using Recursion #include<stdio.h> // declaring the function int fact(int); int main() { printf(“\n\n\t\tEduguru
Read moreC Program for Adding Two Numbers Using Recursion #include<stdio.h> int y; /* Function to add two numbers and return the
Read moreC Program find whether a Number is Prime Or Composite using Recursion Prime Number: A number that is only divisible by
Read moreA pointer is a variable that stores the address of another variable. Unlike other variables that hold values of a
Read moreStructure is a group of variables of different data types represented by a single name. Lets say we need to
Read moreBefore we discuss function call by reference, lets understand the terminologies that we will use while explaining this: Actual parameters:
Read moreA loop is used for executing a block of statements repeatedly until a given condition returns false. C For loop
Read more#include <stdio.h> void sort_numbers_ascending(int number[], int count) { int temp, i, j, k; for (j = 0; j <
Read more#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#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