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
List some of the dynamic data structures in C?
What is a floating point in c?
What is %lu in c?
How do you determine whether to use a stream function or a low-level function?
What are the data types present in c?
What is wrong with this program statement? void = 10;
How can I read a binary data file properly?
What is nested structure?
What is the difference between #include
How many types of operators are there in c?
What are the different file extensions involved when programming in C?
If the size of int data type is two bytes, what is the range of signed int data type?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What do you understand by friend-functions? How are they used?
Can we replace the struct function in tree syntax with a union?