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 40526

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

23 36191

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 14038

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 17339

full c programming error question based problem

3 13469





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

11 15313

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

6 5265

what is exceptions?

5 3681

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

14 21832

Post New HCL C C++ Errors Interview Questions




HCL C C++ Errors Interview Questions





Un-Answered Questions

What is memory-management unit (mmu)?

19


What is the difference between formatted&unformatted i/o functions?

12


Are you open to work in night shifts?

30


Connect to QC using AOM.

476


How many Mappers run for a MapReduce job in Hadoop?

12






Is it possible to have a static indexer in c#? Allowed in c#.

7


What are the Developer Features in a WordPress?

3


what is plasmid linearization ?

1110


What is customize theme?

3


Explain quality management specific data that you can maintain in material master to control the inspection plan?

3


What is a collection stage?

1


Make a case for the mixing of tableau with r?

7


how to acess a test in RSA?

1010


How can you take an AD backup in Windows 2003 server?

1


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

1