Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

HCL C Interview Questions
Questions Answers Views Company eMail

#include main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }

7 27986

#include main(0 { printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3)); }

4 11872

a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above

2 12745

The operation of a stair case switch best explains the a) or operation b) and operation c)exclusive nor operation d)exclusive or operation Which of the following is/are syntactically correct? a) for(); b) for(;); c) for(,); d) for(;;);

1 13251

b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720

1 8579

Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

2 7604

what is the difference between class and unio?

2421

int 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); }

3 8863

To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2694

Write a program to print ASCII code for a given digit.

1131

What is the maximum no. of arguments that can be given in a command line in C.?

1205

Differentiate fundamental data types and derived data types in C.

1092

Explain pointer. What are function pointers in C?

1153

Post New HCL C Interview Questions


HCL C Interview Questions


Un-Answered Questions

What is a linked list c#?

934


What is single sign-on?

809


What is automatic and direct replenishment?

1093


Why is spring default scope singleton?

482


What is loosely coupling in spring?

475


What is the differences between abap and ooabap. In which situation we useooabap?

1568


What is the difference between the sql*loader and import utilities? : aql loader

1101


What is struts? Explain

1021


What is the method for reading and writing a file in javascript?

1018


What is code splitting?

802


How did you come to know about Grape City?

1301


What is the approximate cost of the corrosion penetration monitoring system(cpmp)?

1000


Can foreign key have duplicate values?

949


How can we have 2 GL accounts using same valuation class in material master ? split valuation process example we are procuring materials from two different destinations I will use same valuation class but I want two different GL accounts to be hit.

1527


How can I eliminate the extra space after a tag?

880