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

Answer Posted / m.manivel

Hello will be printed infinite times and if u want to print
10 times for put i=10;(or)print for 100 times put i=100;for
user choice

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are data types in c language?

590


Explain the use of 'auto' keyword

683


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

567


What does nil mean in c?

676


What is an auto keyword in c?

645






How can I direct output to the printer?

820


I came across some code that puts a (void) cast before each call to printf. Why?

686


what will be maximum number of comparisons when number of elements are given?

1413


Do character constants represent numerical values?

848


c program to compute AREA under integral

1818


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1434


What are 3 types of structures?

596


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1070


What is array within structure?

589


What are valid operations on pointers?

674