All Questions

537 questions and answers

1144 views

Write a C program to convert binary to decimal using function.

#include<stdio.h> #include<conio.h> #include<math.h> int bin_to_dec(int); main() { int n,result;

Super Admin
added 3 years ago
1147 views

Write a C program to convert any name in short name.

#include<stdio.h> #include<conio.h> int isupper(char); main() { char c; printf("\n Enter any name");

Super Admin
added 3 years ago
1155 views

Write a C procram to G.C.D. of two no. using recursion.

#include<stdio.h> #include<conio.h> int gcd(int,int); main() { int a,b,temp,result;

Super Admin
added 3 years ago
1184 views

Write a C program to print all prime no.(1-100).

#include<stdio.h> #include<conio.h> main() { int i,j,n; printf("\n The prime numbers are(1-100)");

Super Admin
added 3 years ago
1090 views

Write a C program to addition of two matrices.

#include<stdio.h> #include<conio.h> main() { int a[10][10],b[10][10],c[10][10],m,n,p,q,i,j; printf("\n Enter the dimension of the 1st matrix");

Super Admin
added 3 years ago
1064 views

Write a C program to convert Centigrade temp into Farenhite temp.

#include<stdio.h> #include<conio.h> main() { float a,b;

Super Admin
added 3 years ago
1115 views

Write a C program to transpose of a matrix.

#include<stdio.h> #include<conio.h> main() { int a[10][10],b[10][10],m,n,i,j; printf("\n enter the dimension of the matrix");

Super Admin
added 3 years ago
1129 views

Write a C program to find the multiplication table of any no.

#include<stdio.h> #include<conio.h> main() { int n,i=1; printf("\n Enter any number");

Super Admin
added 3 years ago
1079 views

Write a C program to find the factorial of any number.

#include<stdio.h> #include<conio.h> main() { int n; long int fact=1; printf("\n Enter any number");

Super Admin
added 3 years ago
1194 views

Write a C program to find the GCD of two numbers.

#include<stdio.h> #include<conio.h> main() { int a,b,r,t; printf("\n Enter two number");

Super Admin
added 3 years ago