My Blog
Articles related to programming, computer science, technology and research.

C program to read and print a matrix using pointers

29/07/2016 Categories: Pointers. No Comments on C program to read and print a matrix using pointers

A C program to read and print a matrix using pointers and dynamic memory allocation. Program is as follows:

Input and output for the above program is as follows:

 

Read the rest of this entry »

C program to find the unique element in an array

28/07/2016 Categories: Arrays. No Comments on C program to find the unique element in an array

A C program to find the unique element in the given array. Note: This program works only when the values are repeated two times and when there is only one unique value. Program is as follows:

Input and output for the above program is as follows:

 

Read the rest of this entry »

C program to reverse a given string

09/07/2016 Categories: Strings. No Comments on C program to reverse a given string

A C program to reverse a given string without using predefined function. Program is as follows:

Input and output for the above program is as follows:

 

Read the rest of this entry »

C program to compare two strings

09/07/2016 Categories: Strings. No Comments on C program to compare two strings

A C program to compare two strings without using predefined function. Program is as follows:

Input and output for the above program is as follows:

 

Read the rest of this entry »

C program to concatenate two strings

09/07/2016 Categories: Strings. No Comments on C program to concatenate two strings

A C program to join or concatenate two strings without using predefined function. Program is as follows:

Input and output for the above program are as follows:

 

Read the rest of this entry »

C program to copy one string to another

09/07/2016 Categories: Strings. No Comments on C program to copy one string to another

A C program to copy one string to another without using predefined function. Program is as follows:

Input and output for the above program is as follows:

 

Read the rest of this entry »

C program to find the length of a string

09/07/2016 Categories: Strings. No Comments on C program to find the length of a string

A C program to find length of a string without using predefined function. Program is as follows:

Input and output for the above program is as follows:

 

Read the rest of this entry »

C program to reverse an array in place using pointers

09/07/2016 Categories: Pointers. No Comments on C program to reverse an array in place using pointers

A C program to reverse the given array in place using pointers. Program is as follows:

Input and output for the above program is as follows:

 

Read the rest of this entry »

C program to reverse an array in place

30/06/2016 Categories: Arrays. No Comments on C program to reverse an array in place

C program to reverse an array in place, i.e., without using another temporary array. Program is as follows:

Input and output for the above program is as follows:

 

Read the rest of this entry »
Scroll Up