Skip to content
Gblog Get FREE Placement Assistance with GeeksforGeeks LIVE Courses to Upskill Yourself
The job market has changed drastically post-pandemic – with frequent job-hopping and the race to upskill oneself. The latter has proved to be a game-changer… Read More
Given f1, f3 and f in canonical sum of products form (in decimal) for the circuit A) m(4, 6) B) m(4, 8) C) m(6, 8) D) m(4, 6, 8)… Read More
In a nutshell, this search algorithm takes advantage of a collection of elements that is already sorted by ignoring half of the elements after just… Read More
So as we all know binary search is one of the searching algorithms that is most frequently applied while dealing with data structures where the… Read More
We basically ignore half of the elements just after one comparison. Compare x with the middle element. If x matches with middle element, we return… Read More
Problem: Given a sorted array arr[] of n elements, write a function to search a given element x in arr[] and return the index of… Read More
We strongly recommend to read following post on suffix trees as a pre-requisite for this post.Pattern Searching | Set 8 (Suffix Tree Introduction)A suffix array… Read More
Let r denote number system radix. The only value(s) of r that satisfy the equation  (A) decimal 10 (B) decimal 11 (C) decimal 10 and… Read More
In the Karnaugh map shown below, X denotes a don’t care term. What is the minimal form of the function represented by the Karnaugh map?… Read More
In the IEEE floating point representation, the hexadecimal value 0 × 00000000 corresponds to (A) the normalized value 2-127  (B) the normalized value 2-126 (C)… Read More
The following system of equations has a unique solution. The only possible value(s) for α is/are (A) 0 (B) either 0 or 1 (C) one of 0,… Read More
If P, Q, R are subsets of the universal set U, then   (A) Qc U Rc (B) P U Qc U Rc (C) Pc U… Read More
(A) 1 (B) -1 (C) INF (D) -INF Answer: (A) Explanation: Quiz of this Question My Personal Notes arrow_drop_up Save
Assume that the size of char is 1 byte and negatives are stored in 2’s complement form #include<stdio.h> int main() {     char c = 125;… Read More
#include <stdio.h> void f(char**); int main() {     char *argv[] = { "ab", "cd", "ef", "gh", "ij", "kl" };     f(argv);     return 0; } void f(char **p)… Read More
#include <stdio.h> int main() {     int a[][3] = {1, 2, 3, 4, 5, 6};     int (*ptr)[3] = a;     printf("%d %d ", (*ptr)[1], (*ptr)[2]);     ++ptr;     printf("%d… Read More

Start Your Coding Journey Now!