for(i=0;i=printf("Hello");i++);
printf("Hello");
how many times how will be printed?????????

Answer Posted / asit mahato

for(i=0;i=printf("Hello");i++);
means
for(i=0;i=printf("Hello");i++)
{

}
thats why it will print Hello only one time.

Is This Answer Correct ?    2 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to rearrange the array such way that all even elements should come first and next come odd

1766


Why doesnt this code work?

620


please give me some tips for the placement in the TCS.

1637


what are enumerations in C

726


How can I call a function with an argument list built up at run time?

644






Can we change the value of #define in c?

588


What is your stream meaning?

610


What does sizeof function do?

618


What is the value of c?

576


while initialization of array why we use a[][2] why not a[2][]...?

1869


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1667


What are static variables in c?

631


Why isnt any of this standardized in c?

641


Differentiate call by value and call by reference?

571


What the advantages of using Unions?

677