What is the output of the following program?
What is the output of the following C program?
Which function would you use to convert 1.97 to 1?
What is the output of the following C program?
# include <stdio.h>
int main()
{
unsigned int i = 65000;
while (i++ != 0);
printf("%d", i);
return 0;
}
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
char c = 74;
cout << c;
return 0;
}
OOP allows for extension of the object's functions or of class functions. This is called:
Which inheritance type is used in the class given below?
class A : public X, public Y
{}
What will be the output of the following C program?
main()
{
float a = 0.7;
double b = 0.7;
long double c = 0.7;
if (a == b || b == c)
printf("condition satisfied");
else
printf("condition not satisfied");
printf("a=%.6f b=%.6lf c=%.6Lf", a, b, c);
}