## Search results

1. ### Addition of two numbers in C

Addition of two numbers in C: This C language program performs the basic arithmetic operation of addition of two ... (5 + 6) will be printed on the screen. In the expression (c = a + b) overflow may occur if the sum of a and b is larger than the maximum ...

yogesh - 19/05/2018 - 18:06

2. ### C program to merge two files

C program to merge two files and store their contents in another file. The ... = window.adsbygoogle || []).push({}); C programming code #include <stdio.h> #include <stdlib.h>   ... files program. Output of program: C programming: C programs ...

yogesh - 05/07/2018 - 14:12

3. ### C program to insert substring into a string

C program to insert a substring into a string: This code inserts a string into the source string. For example,if the source string is "C programming" and string to insert is " is amazing" (please note there is ... we insert string at position 14 then we obtain the string "C programming is amazing". In our C program we will make a function which ...

yogesh - 05/07/2018 - 14:10

4. ### C program to print diamond pattern

Diamond pattern in C language: This code prints diamond pattern of stars. The diamond shape is as follows: * *** ***** *** * C programming code #include <stdio.h>   int main ( ) { int n , c , k , space = 1 ;   printf ( "Enter number of ...

yogesh - 19/05/2018 - 21:17

5. ### Matrix multiplication in C

Matrix multiplication in C language: C program to multiply two matrices (two-dimensional array) which will be ... || []).push({}); Matrix multiplication in C language #include <stdio.h>   int main ( ) { ...

yogesh - 05/07/2018 - 14:12

6. ### Sum of digits in C

C program to calculate the sum of digits of a number: we will use modulus ... individual digits of a number and keep on adding them. C programming code #include <stdio.h>   int main ( ) { ... = sum + remainder so sum = 8 now. 98/10 = 9 because in C language whenever we divide an integer by an another integer we get an ...

yogesh - 19/05/2018 - 18:39

7. ### C program to get IP address

C program to print IP (Internet Protocol) address of your computer, system ... works for Windows XP and Windows 7. If you are using Turbo C compiler then execute this program from the folder, it may not work when you ... = window.adsbygoogle || []).push({}); C programming code #include<stdlib.h>   int main ( ) { ...

yogesh - 05/07/2018 - 14:12

8. ### C program to find area of circle

C program to find area of circle: c programming code to calculate area of circle. C programming code #include<stdio.h> #include<math.h>   main ( ...

yogesh - 05/07/2018 - 14:12

9. ### C program for binary search

C program for binary search: This code implements binary search in C language. It can only be used for sorted arrays, but it's fast as compared to ... = window.adsbygoogle || []).push({}); C programming code for binary search #include <stdio.h>   int ...

yogesh - 09/06/2018 - 20:50

10. ### C program to delete a file

C program to delete a file whose name a user will input, the file to be deleted ... then an error will be displayed by perror function. C programming code #include<stdio.h>   main ( ) { ... they aren't overwritten on the storage medium. C programming: C programs ...

yogesh - 05/07/2018 - 14:12