Friday, May 18, 2012
1
HCL Comnet Placement Paper-1 2012
Welcome to HCL Comnet Placement Paper 2012. Here you will find HCL Comnet Placement Paper Pattern and Download questions of HCL Comnet Placement Paper January 2012 with Answers & Solutions. Company :- HCL. Category :- Placement Papers. Location :- Gurgaon - Delhi / NCR HCL Comnet Placement Paper January 2012:- 1. We should not read after a write to a file without an intervening call to fflush(), fseek() or rewind() < TRUE/FALSE> Ans. True 2. 1/3 of girls , 1/2 of boys go to canteen .What factor and total number of classmates go to canteen. Ans: Cannot be determined. 3. The price of a product is reduced by 30% . By what percentage should it be increased to make it 100% Ans: 42.857% 4. A worker is paid Rs.20/- for a full days work. He works 1,1/3,2/3,1/8.3/4 days in a week. What is the total amount paid for that worker ? Ans : 57.50 5. Each side of a rectangle is increased by 100% .By what percentage does the area increase? Ans : 300% 6.main( ) { int x = 5; printf(“%d %d”, x++, ++x); return 0; } a) Error b) 6, 6 c) 5, 7 d) 7, 6 7. main( ) { int z = 4; printf( “%d”, printf(“ %d %d “, z, z)); } a) 4 4 3 b) 4 4 5 c) 4 4 4 d) Error 8. int i = 0; main( ) { printf(“i = %d”, i); i++; val( ); printf(“After i=%d”, i); val( ); } val( ) { i =100; printf(“val’s i=%d\n”, i); i++; } a) i =0 b) i=0 c) Error d) None of the above 9. main( ) { int a[ ] = { 10, 20, 30, 40, 50}; int j; for (j = 0; j < 5; j++) { printf(“ \n %d”, * a); a ++; } } a) 0..5 b) 0..4 c) Error d) None of the above 10. main( ) { int a[5] = {2, 4, 6, 8, 10); int i, b =5; for(i=0; i<5; i++) { f(a[i], &b); printf(“\n %d %d”, a[i], b); } } f(int x, int *y) { x = *(y) +=2; } a) 2 7 b) 4 9 c) 7 2 d) Error |
Subscribe to:
Post Comments (Atom)
1 Responses to “HCL Comnet Placement Paper-1 2012”
May 18, 2019 at 6:15 AM
It's a nice post. What should I do with this code? I have no idea.
Post a Comment