Which type of error is overflow?
#include<stdio.h>
int main()
{
int i;
i=1,2,3;
printf("%d",i);
return 0;
}
Where is the value returned from the return statements in the program?
What will be the output of the following C++ code?
nclude<stdio.h>
int main()
{
int i = -5;
while (i <= 5)
{
if (i >= 0)
break;
else
{
i++;
continue;
}
printf("AbekusQuiz");
}
return 0;
}
#include < iostream >
using namespace std;
int main(){
int i, j;
j = 10;
i = (j++, j + 100, 999 + j);
cout << i;
return 0;
}
What is the output of the program given below
#include <stdio.h>
int main()
{
int x = 7, *y, z;
y = &x;
printf("%d", x * *y * x + *y);
return (0);
}
#include <bits/stdc++.h>
using namespace std;
int main() {
set<int> s;
s.insert(1);
s.insert(2);
s.insert(3);
s.insert(3);
s.insert(5);
cout<<s.size();
return 0;
}
What will be the output of the following C code?
int main()
{
int _ = 10;
int __ = 20;
int ___ = _ + __;
printf("__%d", ___);
return 0;
}
#include <stdio.h>
int main()
{
int a[][] = {{1,2},{3,4}};
int i, j;
for (i = 0; i < 2; i++)
for (j = 0; j < 2; j++)
printf("%d ", a[i][j]);
return 0;
}