Skip to content
Gblog 100 Days of Code – A Complete Guide For Beginners and Experienced
Do you want to become a successful software developer and dreaming about getting into the big tech companies? Are you someone who is already working… Read More
How many of the following numbers are divisible by 9 96381, 46729, 54459, 85369, 46818 (A) 1 (B) 2 (C) 4 (D) 3 Answer: (D)… Read More
Consider the following variable declarations and definitions in C i) int var_9 = 1; ii) int 9_var = 2; iii) int _ = 3; Choose… Read More
#include "stdio.h"  int main() {  void *pVoid;  pVoid = (void*)0;  printf("%lu",sizeof(pVoid));  return 0; } Pick the best statement for the above C program snippet. (A)… Read More
A matching in a Bipartite Graph is a set of the edges chosen in such a way that no two edges share an endpoint. A… Read More
9848 x 125 = ? (A) 1232000 (B) 1242000 (C) 1231000 (D) 1233000 Answer: (C) Explanation: 9848 x 125 = 9848 x (250 / 2)… Read More
103 x 103 + 97 x 97 = ? (A) 21348 (B) 20018 (C) 19648 (D) 21428 Answer: (B) Explanation: 103 x 103 + 97… Read More
#include "stdlib.h" int main() {  int *pInt;  int **ppInt1;  int **ppInt2;     pInt = (int*)malloc(sizeof(int));  ppInt1 = (int**)malloc(10*sizeof(int*));  ppInt2 = (int**)malloc(10*sizeof(int*));     free(pInt);  free(ppInt1);  free(*ppInt2);… Read More
Assume int is 4 bytes, char is 1 byte and float is 4 bytes. Also, assume that pointer size is 4 bytes (i.e. typical case)… Read More
Given a string consisting of opening and closing parenthesis, find the length of the longest valid parenthesis substring. Examples:  Input : ((() Output : 2… Read More
This article introduces some very basic types of malicious content which may harm your PC  in some way or the other.. The Threat The computer… Read More
We have discussed the following topics on Syntax Analysis.  Introduction to Syntax Analysis Why FIRST and FOLLOW? FIRST Set in Syntax Analysis   FOLLOW set is a concept… Read More
Which is not the prime number? (A) 43 (B) 57 (C) 73 (D) 101 Answer: (B) Explanation: A positive natural number is called prime number… Read More
Largest five digit number exactly divisible by 39 is: (A) 99979 (B) 99956 (C) 99989 (D) 99996 Answer: (D) Explanation: Largest 5 digit number is… Read More
Given a distance ‘dist’, count total number of ways to cover the distance with 1, 2 and 3 steps.  Examples:  Input: n = 3 Output:… Read More
Suppose that in a C program snippet, followings statements are used. i) sizeof(int); ii) sizeof(int*); iii) sizeof(int**); Assuming size of pointer is 4 bytes and… Read More

Start Your Coding Journey Now!