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
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
Why do we use return in c?
What is the use of a static variable in c?
What is meant by type specifiers?
Why is c faster?
What are the different types of linkage exist in c?
Without Computer networks, Computers will be half the use. Comment.
How can I manipulate strings of multibyte characters?
Write the syntax and purpose of a switch statement in C.
Why is main function so important?
Is it valid to address one element beyond the end of an array?
What is a protocol in c?
write a program to create a sparse matrix using dynamic memory allocation.
Are bit fields portable?
What is a sequential access file?