Program to Remove Spaces From the String #include void main(){char a[20];int i,j,b;printf("enter the string: ");gets(a);f...Read more »
The Magician Of Linux
Program to Remove Spaces From the String #include void main(){char a[20];int i,j,b;printf("enter the string: ");gets(a);f...Read more »
Program to Concatenate Two string #include void main(){char a[10],b[10],c[20],d;int i=0,j,k; //first stringprintf("enter the 1st string...Read more »
Program to Swap two numbers without using Temporary variable #include void main(){int a,b;printf("enter two numbers : ");scanf(...Read more »
Program to Find Greatest of Four Number using if-elseif-else Statements #include void main() { int a,b,c,d; pr...Read more »
Program to Find "a" to the power "b" #include //declaration of functionint pro(int , int); void main(){int a ,b,c ;print...Read more »
Program to Print Triangle of "*" and "#" * * # * # * * # * # * # * # * #include void main(){int i,j;for(i=1;iRead more »
Program to find position of sub-string in a String #include #include void main(){char str[20] , pat[20] ;int i=0,j,k=0 ;printf("enter t...Read more »
Program to find LCM and HCF of a Number #include //declaration of lcm functionint lcm(int,int); //declaration of hcf functionint hc...Read more »
Program to Find Factorial of a Number #include //declaration of functionint fact(int);void main(){int a,d; printf("enter the ...Read more »
Program to Check Whether a Number is Armstrong Number or not #include //declaration of function int arm(int); void m...Read more »
Program to Find Sum of a Number Excluding First and Last Digits #include ...Read more »
program to convert ASCII code to Character #include #include void main(){int j;char c;a:clrscr();printf("enter the ACII code (0 to 127...Read more »
Program to Find Armstrong Number Between 1 to 500 (in c) Here is c program to find armstrong number #include void main(){ int a,b,c,d,i;pri...Read more »