Need Programming Assignment Help?

Get Help with Programming Assignment in Java, C/C++, Dot Net, PHP, Database and UML Diagrams

All posts tagged C Programming

C# Programming Extensible Stack Implementation

C# Programming Extensible Stack Implementation Extensible Stack Implementation – This Section of C# Program covers Extensible Stack Implementation. using System; namespace MyLibrary.Collections { public class MyStack { private long nIncrement; private long nElements; private object[] elements; public MyStack(long initialCapacity, long nIncrement) { this.nElements = 0; this.nIncrement = nIncrement; elements = . . . Read more

Substring in C Programming

Substring in C Programming This C Program checks the substring is present in the given string. The program accepts both string and substring. #include <stdio.h>   int main() { char string[1000], sub[1000]; int position, length, c = 0;   printf(“Input a string\n”); gets(string);   printf(“Enter the position and length of . . . Read more

Anagram in C Programming

C Anagram Programming Code Anagram in c: c program to check whether two strings are anagrams or not, string is assumed to consist of alphabets only. #include <stdio.h>   int check_anagram(char [], char []);   int main() { char a[100], b[100]; int flag;   printf(“Enter first string\n”); gets(a);   printf(“Enter . . . Read more

C Program to Concatenate Two Strings

C Program to Concatenate Two Strings Wecan concatenate two strings easily using standard library function strcat() but, this program concatenates two strings manually without using strcat() function. #include <stdio.h> int main() { char s1[100], s2[100], i, j; printf(“Enter first string: “); scanf(“%s”, s1); printf(“Enter second string: “); scanf(“%s”, s2); // . . . Read more

C Program to Find Transpose of Matrix

C Program to Find Transpose of Matrix This c program prints transpose of a matrix. It is obtained by interchanging rows and columns of a matrix. #include <stdio.h> int main() { int a[10][10], transpose[10][10], r, c, i, j; printf(“Enter rows and columns of matrix: “); scanf(“%d %d”, &r, &c); // Storing . . . Read more

C Program to Check Armstrong Number

Check Armstrong Number of Three Digits Armstrong number c program: c programming code to check whether a number is Armstrong or not. Armstrong number is a number which is equal to sum of digits raise to the power total number of digits in the number. #include <stdio.h> int main() { int . . . Read more

Bubble Sort Data Structure Example in C

Bubble Sort Data Structure Example in C C program for bubble sort: c programming code for bubble sort to sort numbers or arrange them in ascending order. #include <stdio.h> #define MAX 100 int main() { int arr[MAX],limit; int i,j,temp; printf(“Enter total number of elements: “); scanf(“%d”,&limit); /*Read array*/ printf(“Enter array . . . Read more