Skip to content

Category Archives: Algorithms Quiz

#include <iostream> using namespace std;    int main() {            int i = 256;            for(;;)        {            cout<<"Hello World\n";                          i = i<<1;                          if(i<0)… Read More
Which of the following statement(s) is/are True about Data-Types in C? If no data type is given to a variable, then the compiler automatically convert… Read More
What will be the output of the below C program? #include <stdio.h> int main() {     if (sizeof(int) > -10)         printf("YES");     else         printf("NO");     return 0; }… Read More
Which of the following statement(s) is/are true about Associativity and Precedence of operators in C. Associativity is only used when there are two or more… Read More
Predict the output of the below C program: #include <stdio.h>    int main()  {     int a = 5, b, c = 15, d = 13;… Read More
Predict the output of the below C program: #include <stdio.h>    int main() {     int a = - -3;            printf("a=%d", a);        return 0;… Read More
What will be the output of below C++ program? #include <iostream>    using namespace std;    int  main()  {     float _ = 20.5;            int… Read More
What will be the output of the below C program? #include <stdio.h>    int main() {     int x = 2;        do{         ++x;                    printf("%d",… Read More
What will be the output of the below C program? #include <stdio.h>    int main()  {     int a = 2;            if("%d=gfg", a);        return… Read More
Predict the output of the below C program: #include <stdio.h>    int main()  {     int i = 2, j = -2;            if((printf("%d", j)) <… Read More
Predict the output of below C program: #include<stdio.h> int main() {     int a = 5, b = 10%9, i;     for(i=1; i<10; i++)     if(a != b);… Read More
Zookr.in Interview Process was very good and intellectual. These guys focussed on both logic and programming skills. Seriously, I was a bit hesitant since this… Read More
Given two points on a 2D plane X1(3, 0) and Y1(0, 4). A mirror passes through origin which makes an angle of 45 degrees with… Read More
On the occasion of marriage anniversary a couple invited their 8 friends for a party to be held around a circular table containing 10 chairs.… Read More
What will be the next number in the series: 11, 7, 16, 0, __,…… (A) 0 (B) 16 (C) 9 (D) 25 Answer: (D) Explanation:… Read More

Start Your Coding Journey Now!