|
Ericsson 12 Feb 2006 I gave test on 12 Feb 2006 in Gurgoan.There were two round 1 aptitude (60 questions 60 mins) 2 c or Java test (15 questions 30 mins) first one has 2 clear the aptitude test then only u can give the C or java test Aptitude C paper questions not in correcr order --------- 1 i don't remember exactly but something on function ptr. 2 is char a[] and char *ptr same ? Ans no 3 can we use void fun(char *ptr) in place of void fun( char a[])? Ans Yes 4. what is the o/p of printf("%d",i++*++i); Ans no o/p error 5.in a 64 bit os what is the o/p of sizeof(a)= ? char a[10]; Ans 10 6 what is the o/p of for(i=0;i<10;i++); { printf("%d",i); } Ans no o/p 7.can a structure point to itself ? Ans Yes 8-12. 5 questions on command line arguments (simple one from test ur c skills from yashwant kanetakar) 13 will this work strcpy(string,'a'); Ans Yes 14. char *a="abcd"; char *b="fgeh"; strcpy(a,b) will it work is no what is the error? Ans it will not work as what is beyond abcd in a is not known 15. i don't remember Deep
enter.deeps@yahoo.com
|