How many destructors are allowed in a C++ class?
In how many different ways can any variable be constructed?
How do you declare a complex number?
struct{
int a ;
char b;
float c;
}
What is the size of the above given structure?
Which of the following is not a non-modifying sequence algorithm?
What is the output of the following C code?
int main()
{
int a=1;
-10;
printf("%d",a);
return 0;
}
#include
What is the output of the following program?
main()
{
printf("%u",main());
}
What is the output of the following program?
main()
{
struct emp
{
char emp_name[25];
int emp_age;
float emp_sal;
};
struct emp e1 = {"Arun Kumar"};
printf("%d %f", e1.emp_age, e1.emp_sal);
}
Shrishti writes the code for a function that computes the factorial of the inputted number n.
function factorial(n)
{
if(n equals 1)
return 1
else
— MISSING STATEMENT —
end
}
Fill in the missing statement.
OnSite
1 Openings
FullTime
Posted 17 days ago