Write a Program to print the sum of digits of a given number. #include <stdio.h> #include <conio.h> int main () { int no […]
Read moreTag: c programming for beginners
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 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 morePrint alternate element in an Array
Print alternate element in an Array Print alternate element in an Array Code : #include<stdio.h> int main(){ int n; printf(“Enter size […]
Read moreMultiple of Matrix in c
Multiple of Matrix in c Multiple of Matrix in c #include <stdio.h> // Function to multiply two matrices void multiplyMatrices(int firstMatrix[10][10], int secondMatrix[10][10], int […]
Read moreTo check weather a number is Prime or Not
To check weather a number is Prime or Not To check weather a number is Prime or Not Question: Write a C program […]
Read morePrograms in C language
Programs in C language Programs in C language Ques 1: Write a program to find out whether it is an odd number or even […]
Read moreButterfly Pattern Program
Butterfly Pattern Program Butterfly Pattern Program #include<stdio.h> int main(){ int n; scanf(“%d”,&n); for(int i=1;i<=n;i++){ […]
Read more
Recent Comments