This free survey is powered by
0%
Exit Survey
 
 
Hello:
Please answer all questions.

Your responses will be strictly confidential and data from this research will be reported only to us. Your information will remain confidential. If you have questions at any time about the survey or the procedures, you may contact [Name of Survey Researcher] at [Phone Number] or by email at the email address specified below.

Thank you very much for your time and support. Please start with the survey now by clicking on the Continue button below.

 
 
 
 
* Email Address
   
 
 
 
This section comprises of 5 Multiple choice C programming questions
 
 
 
* What will be the output of the following :
main()
{
int i=-1,j=-1,k=0,l=2,m;
m=(i++) && (j++) && (k++) || (l++);
printf("%d %d %d %d %d",i,j,k,l,m);
}
 
0 0 1 3 1
 
0 0 1 3 0
 
-1 -1 0 2 0
 
Compilation error
 
 
 
What will be the output of the following code :
main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}
 
Dereferencing pointer error
 
0X23456022
 
Hello
 
H
 
 
 
What will be the output of the following code:
main()
{
A = [1000, 2000, 3000, 4000];
printf("%d", 2[A]);
}
 
Undefined Array index
 
Garbage value
 
3000
 
None of the above
 
 
 
What will be the output of the following:
main()
{
int a=10;
void *k;
k=&a;
k++;
printf("\n %u ",k);
}
 
0x20341278
 
Compiler error
 
11
 
10
 
 
 
What will be the output of the following code :
main()
{
show();
}
void show()
{
printf("I'm the greatest");
}
 
I'm the greatest
 
Compiler error: type mismatch in redeclaration of show();
 
Undefined function show();
 
None of the above
 
 
 
This section comprises of 5 Multiple Choice Logical Reasoning questions.
 
 
 
Problem below consists of three statements. Based on the first two statements, the third statement may be true, false, or uncertain.

Mara runs faster than Gail.
Lily runs faster than Mara.
Gail runs faster than Lily.
If the first two statements are true, the third statement is
 
true
 
false
 
uncertain
 
None of these