Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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 53653

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

24 47717

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 15479

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 25434

full c programming error question based problem

3 14914





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

11 19826

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

6 6725

what is exceptions?

5 4725

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

14 32385

Post New HCL C C++ Errors Interview Questions




HCL C C++ Errors Interview Questions


Un-Answered Questions

Define cics interface block?

312


What is a descendant selector?

90


How do I find available ip addresses?

310


Do csrf tokens expire?

231


What are the disadvantages of external style sheets?

91






How can you say "Time Is Money"

1551


If I is an integer variable, which is faster ++i or i++?

299


How can I copy sapscripts from one client to another, or export/import them?

294


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

301


How to Create new constructors?

1189


What is router and switch?

194


How can we map the classes as immutable?

31


What is the function of AUTO SHUT OF Valve in Diesel Engine?

1007


What is string function c?

265


Define shade?

1