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 42329

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

23 37761

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 14269

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 18122

full c programming error question based problem

3 13684

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

11 16251

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

6 5455

what is exceptions?

5 3799

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

14 22850

Post New HCL C C++ Errors Interview Questions

HCL C C++ Errors Interview Questions

Un-Answered Questions

Where to get the table which is having user status with notification number. (Not the system status)?


How to enable multiple php versions in homestead?


How can u find reactive loads(Kvar)?


What value is returned by a lone `return;’ statement?


You notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it?


What are input groups and button groups in bootstrap 3 framework?


What websites use php?


State the importance of having an emulator with the android environment?


What is sync in backbone.js?


What is polymorphism php?


Trigger should perform based on user requirement?


Tell me do you have any idea about service tax or excise?


Which is Better home cooked food or outside food ?


What are the benefits of a suggestion plan?


What is WebSQL?