Write a Program to print the sum of digits of a given number. #include <stdio.h> #include <conio.h> int main () { int no […]
Read moreCategory: C
Write a Program to swap the values of two variables.
Write a Program to swap the values of two variables. #include <stdio.h> #include <conio.h> int main () { int a,b,t ; […]
Read moreWrite a Program to convet temperature from degree centigrade to farenheit. F = C * (9/5) + 32
Write a Program to convet temperature from degree centigrade to farenheit. F = C * (9/5) + 32 #include <stdio.h> #include <conio.h> int […]
Read moreWrite a Program to compute the addition , subtraction , product , quotent and remainder of two given numbers.
Write a Program to compute the addition , subtraction , product , quotent and remainder of two given numbers. Write a Program to compute the […]
Read moreFind factorial of a number in C++
Find factorial of a number in C++ Find factorial of a number in C++ #include <iostream> using namespace std; int main() { int n; […]
Read moreC program to copy contents of one file to another file
#include <stdio.h> #include <stdlib.h> // For exit() int main() { FILE *fptr1, *fptr2; char […]
Read moreProgram to concatenate two string without using strcat
#include <stdio.h> int main() { // Get the two Strings to be concatenated char str1[100] = “Good”, str2[100] = “morning”; […]
Read moreProgram to find largest element in 2D Array
Program to find largest element in 2D Array Program to find largest element in 2D Array #include<stdio.h> int main() { int r; […]
Read moreBinary To Decimal in C
Binary To Decimal in C Binary To Decimal in C Question: Write a C program to convert a Binary number into Decimal number. […]
Read moreSum and Average of an Array
Sum and Average of an Array Sum and Average of an Array Code : #include<stdio.h> int main(){ int n; int sum=0; […]
Read more
Recent Comments