Remove consecutive duplicate elements from a given character array.[AMD Jan-2026]
example: Input:char arr[] = “aaabbcca” Output:”abca”
Find the missing element in a given array of n numbers. The array size is n − 1 and contains numbers from 1 to n[AMD Jan-2026]
Example: Input: n = 8arr[] = {1, 2, 3, 4, 6, 7, 8} Output: Missing element = 5.
Write a program to count the frequency of elements in a given array.[AMD Jan-2026]
example: Input: arr[] = {1, 2, 255, 3, 2, 8} Output: freq[1] = 1freq[2] = 2freq[3] = 1freq[8] = 1freq[255] = 1Remaining frequency values = 0
Explain about the array and In a Given integer, extract value from Bit fields of 10 to 15, if the extracted value is less than 31 increment by 1 if not, load the same value in the same position(10 to 15) [AMD Dec-2025]
Array with N elements, where Nth element is checksum , Calculate the XOR of all previous elements and compare result with checksum(Nth element). If same return 1, otherwise return 0 ? [AMD Dec-2025]
Precedence and associativity and what is array and declaration of array.[Vem Feb-2026]
WAP biggest element of an array.[Vem Feb-2026]
Write a program to reverse the string by using array and also pointers.[AMI Nov-2025]
find second biggest element in an array? [5G Testbed]
in char Arr[5][3][4] what is the offset value of arr[4][1][3]. [AMI-06-05-2024 ]
write a program to sort an array using pointers. [AMI-06-05-2024 ]
write a generic formula to access elements in a 3-D array.
write a program reverse an array by using pointer variable?
What if i typecast the the array? [AMI-06-05-2023]
What is array? and all concepts related to an array? [AMI-06-05-2023]
find element ‘8’index in given arr[]={2,9,1,6,8,3,2,9,10}; [Ample Semi conductors]
sort the array arr[]={9,4,1,6,8,3,7,2,5}?by using best sorting algorithm? [Ample Semi conductors]
write a program remove duplicate elements in an array? [Mirafra Technologies Pvt. Ltd.]
write a function that will allocate memory dynamically for an integer array of n elements. take elements from user and find sum of elements in array. [TeraScale Inc]
write a program to sort the array such that even numbers are in descending order and odd number are in ascending order [TeraScale Inc]
You are given an integer array, and a value n. Write a C program using a function, to rotate the first n elements to the end of the array while maintaining the order of all elements. Input :Int a[]= {10, 20, 30, 40, 50}; n=3; • Output : a[] ={40, 50, 10, 20, 30}; [VOLTY IOT Solutions 25-06-2025]
Write a program to find biggest element of an array [VEM Technologies Feb_2026]
what is array and declaration of array [VEM Technologies Feb_2026]
Write array initialization and string initialization.[VEM Technologies 2025]
write a program of chess 4×4 players .[Vconnect 2025]
Define an array. [TeraScale]
What is the difference between array and pointer? [TeraScale]
What is the difference between array and structure? [TeraScale]
What is the difference between memory locations of structure and array? [TeraScale]
Find the second largest element in a given array. [TeraScale]
Find the missing number in an array of 9 elements. E.g., int arr[9] = {1,2,3,4,5,6,8,9,10}. [TeraScale]
write a program separate even and odd array elements. [TeraScale]
Write a program: you are given an array of integers representing heights of blocks from left to right. Count how many blocks are visible from the leftmost viewpoint (a block is visible only if all blocks before it are shorter). E.g., arr={1,2,4,3,7,11,10,12,1}, Count=6. [TeraScale]
Allocate an array using malloc() and shift all even numbers to the end while preserving the order of odd numbers. [TeraScale]
Count vowels in a string given function declaration: int fun(char *str, int len). [TeraScale]
WAP for bubble sort. Explain time complexity and space complexity for bubble sort. [TeraScale]