Find the errors from the below code:
Which header is needed to be used with function objects?
Identify the line where the below program will display an error
In C, function parameters are usually
What will the output of the following C code be?
#include <stdio.h>
int main()
{
int x = -2;
if (!0 == 1)
printf("yes\n");
else
printf("no\n");
}
What is the output of the following program?
main()
{
unsigned int i;
for(i=10;i>=0;i--)
printf("%d",i);
}
The output will be
class Mycpp
{
int Mycpp()
{
cout<<"Constructor";
return 0;
}
};
int main()
{
Mycpp obj;
return 0;
}
What is the output of the following C program?
int main()
{
int a[2][2]={{2},{3}};
printf("%d ",a[0][0]);
printf("%d\n",a[0][1]);
printf("%d ",a[1][0]);
printf("%d",a[1][1]);
}
#include