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

Answer Posted / shashikanth

Hello wil be printed infinite times

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

4846


explain what is a newline escape sequence?

692


Explain how do you print an address?

661


Differentiate between Macro and ordinary definition.

734


When should a far pointer be used?

607






How would you use the functions fseek(), freed(), fwrite() and ftell()?

709


How can you call a function, given its name as a string?

716


When should I declare a function?

627


What is meant by operator precedence?

680


int i=10; printf("%d %d %d", i, i=20, i);

1018


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

750


What is null pointer constant?

599


What are enumerated types?

657


How do I get an accurate error status return from system on ms-dos?

653


What is the difference between far and near in c?

605