I did not attempted the C paper but still I just had a look on C and java paper. in C most of the question were programs and their out was asked in LINUX environment.
1)
int main()
{
char *a= "Novell";
char *b;
b=malloc(10*sizeof(char));
memset(b,0,10);
while(*b++=*a++);
printf("%s",b);
return 0;
}
2) int main()
{
printf("Hello");
fork();
printf("World");
}
Honey Well Written Test - C Questions
I did not attempted the C paper but still I just had a look on C and java paper. in C most of the question were programs and their out was asked in LINUX environment.
1)
int main()
{
char *a= "Novell";
char *b;
b=malloc(10*sizeof(char));
memset(b,0,10);
while(*b++=*a++);
printf("%s",b);
return 0;
}
2) int main()
{
printf("Hello");
fork();
printf("World");
}
Related Answered Questions
Related Open Questions