![]() |
|
| INAUTIX Placement Papers INAUTIX profile pattern , INAUTIX Latest placement papers and Updated INAUTIX 2006 2007 placement papers . If you have attended recent test of INAUTIX , kindly post the model paper in this forum. |
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Super Moderator Join Date: Feb 2006 Age: 27
Posts: 4,502
Thanks: 25
Thanked 455 Times in 257 Posts
Rep Power: 0 | iNAUTIX PLACEMENT Paper 3 1.main() { char **p=="Hello"; printf("%s",**p); } Ans: Garbage or nothing 2.main() { printf("%d%c\n"); printf("%d%c\n"); } Ans: Garbage Value 3. main() { int x==5; printf("%d%d",x++,++x); } Ans==6 6 4. main() { int x==4; printf("%d",printf(" %d %d ",x,x) ); } Ans: 4 4 5 5. main() { union { int i; char p; { int t; char e; char o; }w; }l; printf("%d\n",sizeof(l) ); } Ans: 4 6. main() { int i==0,n==6; while(n--0); i+==n; printf("%d\n",i); } Ans: -1 7. main() { char a[]=="Hello"; printf("%c\n",*a++); } Ans: Error 8. a==3,b==2,c==1; What's the value of k? k== a< b < c-1; Ans: 0 9. main() { int a==3; do { printf("%d", a); a==-1; } } while(a0); Ans: 3 10.It is not "exact" Question; But the given Answers is: a) PASS1 PASS2 b) PASS1 FAIL1 c)FAIL1 FAIL2 )FAIL1 PASS2 main() { char c==-32; int i==-64; unsigned u==-26; if(ci) printf("PASS1"); if( i < c) printf("PASS2"); else printf("FAIL1"); if(i printf("PASS2"); else printf("FAIL2"); } Ans: PASS1 PASS2 PASS1 11. main() { int i==0; for( i==0; i<= ;i++) { switch(i) { case 0: i+==5; case 1: i+==2; case 2: i+==5; default: i+==4; break; printf("%d",i); Ans: 16 21 12.main() { int i==4; switch(i) } { case 1: printf("HEllo"): case default: // "case" should not come with "default" printf("****");} Ans: Error 13. main() { int sum==0,count; for(count==1;sum+==count) printf("%d\t",sum); } Ans: Error 14. #define cond(a) a=e && a<= main() { char s=='R'; if( cond(s) ) printf("UPPER CASE"); else printf("LOWER CASE"); } Ans:UPPER CASE |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| All Big MNCs Latest 2006 Placement papers | sridhar | Companies Info & Recruitment Process | 3 | 07-04-09 07:40 PM |
| INFOSYS 2006 PLACEMENT PAPERS | sridhar | Companies Info & Recruitment Process | 2 | 14-04-07 02:22 PM |
| iNAUTIX PLACEMENT Paper 2 | sridhar | INAUTIX Placement Papers | 0 | 07-02-07 07:13 PM |
| iNAUTIX PLACEMENT Paper 1 | sridhar | INAUTIX Placement Papers | 0 | 07-02-07 07:12 PM |
| CTS 2006 PLACEMENT PAPERS | sridhar | Companies Info & Recruitment Process | 0 | 09-10-06 05:24 PM |
| More Interview Questions Here... |