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?..

32 65232

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

24 61666

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 17568

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 33424

full c programming error question based problem

3 16183

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

12 28940

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

6 8303

what is exceptions?

5 5946

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

14 41147

Post New HCL C C++ Errors Interview Questions


HCL C C++ Errors Interview Questions


Un-Answered Questions

If a transaction was missed completly how do you find it?

1625


What are TH- cells?

148


Is an exe an assembly?

508


What is the difference between method overriding and overloading?

569


How can I host my wordpress website for free?

92






What is an event listener?

416


Discuss one scenario where you can use Rank() function?

3


How is nuclear fission different from nuclear fusion?

618


Explain middleware net dynamics?

378


What is the difference between developer and enterprise developer accounts?

403


what is the difference between a basic and dynamic drive in the windows server 2008 environment? : Windows server 2008

109


Explain the meaning of Amp?

581


How can you set non-repudiation property?

404


When should one use mean absolute error over root mean square error as a performance measure for regression problems?

44


What are Modifiers in Set Analysis?

5