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
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What does sizeof int return?
Why n++ execute faster than n+1 ?
What language is windows 1.0 written?
What is memory leak in c?
why programs in c are running with out #include
What is array within structure?
I have seen function declarations that look like this
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What are the types of type qualifiers in c?
What is the most efficient way to count the number of bits which are set in an integer?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Who is the main contributor in designing the c language after dennis ritchie?
Explain the difference between null pointer and void pointer.
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant