Is it good idea to return an address or a reference of a local variable?
Which component is optional in the declaration of a vector?
What is the output of the following program?
void main()
{
char *p="UNIVERSITY";
printf("%c",*(p++)+1);
}
#include
What is the output of the following C program?
int main()
{
if(~0 == (unsigned int)-1)
printf("Hello");
else
printf("Bye");
}
What is the name of the container that can hold a group of multiple objects?
Number of times while loop condition is tested is, i is initialized to 0 in both cases.
while (i < n)
i++;
-------------
do
i++;
while (i <= n);
What is the combination of encapsulation, object identity, inheritance, and dynamic binding called?
Choose the incorrect option.