Skip to content

Tag Archives: Data Structures-Array

Given an array arr[] of length N, the task is to find the number of subarrays that consists of prime numbers in ascending order. Examples:… Read More
Which of the following operations can be performed using bitwise operators in C to check if a number is a power of 2? (A) AND… Read More
A program P reads in 500 integers in the range [0..100] representing the scores of 500 students. It then prints the frequency of each score… Read More