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 C++ Errors Interview Questions
Questions Answers Views Company eMail

void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?..

31 44758

void main() { int i=1; printf("%d%d%d",i,++i,i++); } Cau u say the output....?

24 40004

Assume that the int variables i and j have been declared, and that n has been declared and initialized. Write code that causes a "triangle" of asterisks of size n to be output to the screen. Specifically, n lines should be printed out, the first consisting of a single asterisk, the second consisting of two asterisks, the third consistings of three, etc. The last line should consist of n asterisks. Thus, for example, if n has value 3, the output of your code should be * ** *** You should not output any space characters. Hint: Use a for loop nested inside another for loop.

2 14604

WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); }

25 19538

full c programming error question based problem

3 13957





#include"stdio.h" #include"conio.h" void main() { int a; printf("\n enter a number:"); scanf("%c\n"); getch(); }

11 17378

void main() { int i=7; printf("N= %*d",i,i); }

6 5746

what is exceptions?

5 4003

void main() { int i=5; printf("%d",i+++++i); }

14 24442

Post New HCL C C++ Errors Interview Questions




HCL C C++ Errors Interview Questions


Un-Answered Questions

What causes re-resolution of a stored procedure in sybase?

82


What is a method signature c#?

61


What is the use of background keyword in cucumber?

1


Is call by reference possible in java?

62


What does partial reload do?

1






Test on three subjects Physics, Chemistry & Biology are to be conducted simultaneously the number of candidates for the tests are 68, 36 and 72 respectively. Candidates are to be seated in different rooms such that each room will have candidates of the same subject and the load on each invigilator be the same i.e. the number of candidates in each room should be the same what is the minimum number of rooms you need for the purpose

6901


Does mongodb need lots of ram?

1


What is a boot-strap program?

106


Why does microprocessor contain rom chips?

99


WHAT IS FORM AND OTHER REQUIRMENT FOR FILE EXCISE RETRUN AND HOW WE FILE EXCISE RETURN ?

881


How do you synchronization point through DP?

110


previous year paper of ntpc bhel for degree in electrical enng

2232


What is the purpose of reuseidentifier?

69


What is the five main product offered by tableau company?

41


Your project sponsor has requested a cost estimate for the project. She would like the cost estimate to be as accurate as possible as this might be her one and only chance to secure the budget for this project due to recent cuts in special projects. You decide: A. To use analogous estimating techniques B. To use bottom-up estimating techniques C. To use top-down estimating techniques D. To use expert judgment techniques

121