C Program to Implement Variable Length Array

This is a C Program to implement variable length array(Vectors). An array (vector) is a common-place data type, used to hold and describe a collection of elements. These elements can be fetched at runtime by one or more indices (identifying keys). A distinguishing feature of an array compared to a list is that they allow … Read more

advertisement

C Program to Implement Bit Array

This is a C Program to implement Bit Array. A bit array is an array data structure that compactly stores bits. It can be used to implement a simple set data structure. A bit array is effective at exploiting bit-level parallelism in hardware to perform operations quickly. A typical bit array stores bt bits, where … Read more

advertisement

C Program to Count the Occurrences of each C Keyword using Array Structure

This C Program counts the occurrences of each C keyword using array structure. C keywords are the words which have a definition and cannot be used as an identifier. Here is a source code of the C program to count the occurrences of each C keyword using array structure. The C program is successfully compiled … Read more

advertisement

C Program to Identify the Missing Number in an Integer Array of Size N-1 with Numbers[1,N]

This is a C Program to identify the missing number in an integer array of size n-1 with numbers[1,N]. Problem Description This C Program Identifies the Missing Number in an Integer Array of Size N-1 with Numbers[1,N]. Problem Solution Take input from the user and performs bitwise operations as shown in the program below. Program/Source … Read more

advertisement

C Program to identify missing Numbers in a given Array

This C Program identifies missing numbers in a given array. Here is source code of the C Program to identify missing numbers in a given array. The C program is successfully compiled and run on a Linux system. The program output is also shown below. /*  * C Program to identify missing numbers in a … Read more

advertisement

C Program to Input a String & Store their Ascii Values in an Integer Array & Print the Array

This is a C Program to input a string & store their Ascii Values in an Array & print the Array Problem Description This program will take an input of string & store their ASCII values and print them. Problem Solution 1. Create an array of characters and take its size from users as an … Read more

advertisement

C Program to Check Array bounds while Inputing Elements into the Array

This is a C program check array bounds while inputing elements into the array. Problem Description This is a C program which implements an array and checks array bounds while inputing elements into the array. Problem Solution 1. Create an array of some fixed capacity. 2. Run a for loop more than the array capacity … Read more

advertisement

C Program to Find Union & Intersection of 2 Arrays

This C Program finds union & intersection of 2 arrays. Union here refers to the set of all the elements of the 2 arrays. Intersection here refers to the set of elements which are in both the arrays. Here is source code of the C Program to find union & intersection of 2 arrays. The … Read more

advertisement

C Program to Find the Odd Element given an Array with only two Different Element

This is a C Program to find the odd element given an array with only two different elements. Problem Description This C Program finds odd element in a given array with only two different element. Problem Solution Print the odd element with only two different elements in an array. Program/Source Code Here is source code … Read more

advertisement

C Program to Find 2 Elements in the Array such that Difference between them is Largest

This C Program checks 2 elements in the array such that difference between them is largest. This program finds maximum differnce between the 2 array elements. Here is source code of the C Program to find 2 elements in the array such that difference between them is largest.. The C program is successfully compiled and … Read more

advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn | Youtube | Instagram | Facebook | Twitter