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 65360

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

24 61696

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 17574

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 33460

full c programming error question based problem

3 16193

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

12 28984

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

6 8324

what is exceptions?

5 5955

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

14 41171

Post New HCL C C++ Errors Interview Questions


HCL C C++ Errors Interview Questions


Un-Answered Questions

What does n a mean in vlookup?

300


How do I insert a merge field in word?

302


Discuss the different database types in SQL Azure?

281


How to use windows user to connect to the server?

530


What is a print index?

491






Ln component and service which logic that we have to write?

431


How do I create autotext in word?

321


What is the function of the yolk sac?

1


explain the working components of django?

240


What are route constraints in mvc?

1


What is the shortcut key to merge cells in word?

339


What is the purpose of tables, private synonyms and public synonyms in Oracle?

585


How can government stop cash flow in the economy?

689


Explain Data Science Vs Machine Learning?

129


Where does the user specify the maximum number of instances with the auto scaling commands?

89