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
Why does the call char scanf work?
What is the difference between the local variable and global variable in c?
Why is c still so popular?
What does *p++ do? What does it point to?
using only #include
Explain can you assign a different address to an array tag?
using for loop sum 2 number of any 4 digit number in c language
Here is a neat trick for checking whether two strings are equal
If the size of int data type is two bytes, what is the range of signed int data type?
Do you know what are the properties of union in c?
Tell me what is null pointer in c?
What are 3 types of structures?
Explain pointer. What are function pointers in C?
What is atoi and atof in c?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].