How many parameters should an operator() in a function object take?
What is the output of the following code?
What is the output of the following C code?
#include <stdio.h>
int main()
{
char name[6] = "Hello";
printf("%c", name[0]);
return 0;
}
Where should default parameters appear in a function prototype?
What does the following piece of code do?
public Object function()
{
if(isEmpty())
return -999;
else
{
Object high;
high = q[front];
return high;
}
}
What is the meaning of a vector in the C++ standard library?
What will be the output of the following C function?
Which of the following statement is correct?
What is the output of the following program?
char *funcopy()
{
char display[100];
strcpy(display,"you are shortlisted");
display="you are selected";
return(display);
}
main()
{
char *j;
j=funcopy();
printf("%s",j);
}
Which of the following statement is correct?