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

Answer Posted / ruchi

Infinite times
i =printf("Hello");
here printf("hello") will return 5 i.e i=5 which will always
remain true that's why hello will be printed infinate times.

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to check armstrong number in c?

641


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3192


Explain what is gets() function?

639


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1455


Do you know what are bitwise shift operators in c programming?

589






how do you programme Carrier Sense Multiple Access

1522


how to introdu5ce my self in serco

1528


Explain what is the difference between null and nul?

664


What is double pointer in c?

593


What is the difference between far and near ?

691


How to declare a variable?

575


What is int main () in c?

631


what is the height of tree if leaf node is at level 3. please explain

1604


Explain pointers in c programming?

640


Do variables need to be initialized?

623