Ads block
Other Important Programs
a)C Program to Check Armstrong for 3 digit number Source Code : #include <stdio.h> int main() { int num, originalNum, remainder, result = 0; prin…
Read more »
Question Papers
Previous Question Papers All Question Papers: [posts--tag:Question Papers--50]
Read more »
29. write a C Program to count number of vowels, consonants, digits, words in a given file
Program to count number of vowels, consonants, digits, words in a given file Source Code: #include <stdio.h> #include<ctype.h> int main() { char …
Read more »
28. write a C Program to display the file content on reverse order
Program to display the file content on reverse order Source Code: #include<stdio.h> int main() { FILE *fp; char ch; int i,pos; fp…
Read more »
27. write a C program to merge the two files
Program to merge the two files Source Code: #include <stdio.h> #include <stdlib.h> int main() { FILE *fp1 = fopen("/home/smec/Desktop/file1.tx…
Read more »
26. write a C program to append data to the file
Program to append data to the file. Source Code: #include <stdio.h> int main() { FILE *fp; char str[80]; fp = fopen("/home/smec/Desktop/h…
Read more »
25. write a C program to copy the data from one file to another.
Program to copy the data from one file to another. Source Code: #include<stdio.h> void main() { FILE *fp,*fp1; int ch; fp=fopen("/home/smec/blank.tx…
Read more »
24. write a C program to implement call by value and call by reference
Program to implement call by value and call by reference 24a) Call by Value Source Code: #include<stdio.h> void swap(int a,int b) { int t; t=a; a=b; b=t;…
Read more »
23. write a C program to find the factorial of a number using recursive functions
Program to find the factorial of a number using recursive functions Source Code: #include<stdio.h> int fact(int n) { int f; if(n==0) return 1; else f=n*…
Read more »
22. write a C program to find the factorial of a number using functions
Program to find the factorial of a number using functions Source Code: #include<stdio.h> void function(int number) { int i,fact=1; i=1; while(i<=numb…
Read more »
21. write a C program to display the array elements in reverse order using pointers
Program to display the array elements in reverse order using pointers Source Code: #include <stdio.h> #include <stdlib.h> int main() { int tm…
Read more »
20. write a C program to perform arithmetic operations using pointers
Program to perform arithmetic operations using pointers Source Code: #include<stdio.h> int main() { int a=1,b=2,c; int *d1,*d2; d1=&a; d2=&b; c=…
Read more »
19. write a C program to illustrate the use of nested structure
Program to illustrate the use of nested structure Source Code: #include<stdio.h> struct student { char name[30]; struct dob { int date,year,month; }; }; …
Read more »
18. write C program to store the information about three students
Program to store the information about three students. Source Code: #include <stdio.h> struct student { char Name[50]; int roll; float marks…
Read more »
17. write a C program to perform specified operation on complex numbers
Program to perform specified operation on complex numbers Source Code: #include<stdio.h> typedef struct complex { double a; double b; } complex; complex …
Read more »
16. write a C program to display details of student
Program to display details of student like Roll Number, Name and subject Marks Source Code: #include <stdio.h> #include <string.h> struct student {…
Read more »
15. write a C program to count the lines,words and characters in a given text
Program to count the lines,words and characters in a given text. Source Code: #include<stdio.h> int main() { char str[200]; int line, word, ch; line = w…
Read more »
14. write a C program that displays the position of a character in the string if character match
Program that displays the position of a character in the string if character match Source Code: #include<stdio.h> void main() { char x[30]; char c; int i…
Read more »
13. write a C program to insert & delete sub string into/from main string from a given position.
Program to insert & delete sub string into/from main string from a given position. 13a). Insert a sub string into main string from a given position. Sourc…
Read more »
12. write a C program to determine if the given string is palindrome or not
Program to determine if the given string is palindrome or not 12a) Without buit-in-Functions Source Code: #include<stdio.h> int main() { char string…
Read more »
11. write a C program that uses functions to perform addition and multiplication of two matrices
Program that uses functions to perform following : a) Addition of two matrices Source Code: #include<stdio.h> int main() { int A[5][5],B[5][5],C[5][5],r…
Read more »
10. write a C program to find max., min. and avg. in an array of integers.
Program to find max., min. and avg. in an array of integers. Source Code: #include<stdio.h> int main() { int a[100],max,min,i,n,sum; float avg; printf(&q…
Read more »
9.write a C Program to generate all the prime numbers between 1 to n where n is value supplied by the user
Program to generate all the prime numbers between 1 to n where n is value supplied by the user Source Code: #include<stdio.h> int main() { int i,j,count…
Read more »
8. write a C program to generate the Fibonacci sequence of numbers or Fibonacci Series.
Program to generate the Fibonacci sequence of numbers or Fibonacci Series. Source Code: #include<stdio.h> int main() { int n1=0,n2=1,n3,i,number; printf(…
Read more »
7. write a C program to find the sum of individual digits of a positive integer and test given number is palindrome or not.
Program to find the sum of individual digits of a positive integer and test given number is palindrome or not. Source Code: #include <stdio.h> int main()…
Read more »
6. write a C program that finds if a given number is prime number or not
Program that finds if a given number is prime number or not Source Code: #include<stdio.h> int main() { int i,n,count=0; printf("enter the value of …
Read more »
5. write a C program which takes two integers operands and one operand from the user,perform the opearation and prints the result.
C program which takes two integers operands and one operand from the user,perform the opearation and prints the result(Using switch). Source Code: #include<…
Read more »
4. wite a C Program to find the roots of Quadratic Equation
Program to find the roots of Quadratic Equation Source Code: #include<stdio.h> int main() { int a,b,c,discriminant; float root1,root2,real,imag; printf(&…
Read more »
3. write a program to find Max. and Min. from three numbers using if else.
Program to find Max. and Min. from three numbers using if else. Source Code: #include<stdio.h> void main() { int a,b,c; printf("enter three values:…
Read more »
2. write a simple program to convert the temperature from Farenheit to Celsius
Program to convert the temperature from Fahrenheit to Celsius Source Code: #include<stdio.h> int main() { float f,c; printf("Enter the value of tem…
Read more »
1. write a simple program that prints the results of all operators available in c
1a) Arithmetic Operators Source Code: #include<stdio.h> void main() { int a,b,sum,sub,mul,div,rem; printf("Enter a,b Values\n"); scanf("%…
Read more »
Lab Programs
By
Srinivas Dandu
CE
·
CSD
·
CSE
·
cse(ai&ml)
·
ECE
·
EEE
·
IT
·
Lab Programs
·
ME
C Lab Programs : [posts--tag:C Programs--50]
Read more »
IT Technical Seminar Topics
Information Technology Technical Seminar Topics - 2022 Smart Materials View II Download Sustainable Devel…
Read more »
Followers
SEARCH
LATEST
3-latest-65px
SECTIONS
- All Question Papers (1)
- blog (6)
- C Programs (32)
- CE (13)
- Courses (5)
- CSD (16)
- CSE (16)
- cse(ai&ml) (16)
- CSE(CS) (7)
- Downloads (3)
- ECE (14)
- EEE (13)
- Handwrittenotes (7)
- IT (16)
- Lab Programs (2)
- ME (12)
- mind maps (1)
- NPTEL-Assignments (3)
- Open Source (2)
- PPS MCQ (2)
- Question Papers (1)
- Tech Bytes (2)
- Technical Seminar (6)
- Technical Seminar1 (1)
- Testimonials (4)
- Videos (6)
ABOUT
- Srinivas Dandu
- Hi! This is Srinivas, the best place to get Study Materials and Technology updates.
Powered by Blogger.
Blog Archive
- September 2024 (1)
- December 2023 (3)
- November 2023 (1)
- October 2023 (1)
- October 2022 (5)
- July 2022 (1)
- May 2022 (1)
- April 2022 (3)
- March 2022 (40)
- February 2022 (2)
- January 2022 (26)
- December 2021 (4)