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
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.
explain what is a newline escape sequence?
Explain how do you print an address?
Differentiate between Macro and ordinary definition.
When should a far pointer be used?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
How can you call a function, given its name as a string?
When should I declare a function?
What is meant by operator precedence?
int i=10; printf("%d %d %d", i, i=20, i);
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is null pointer constant?
What are enumerated types?
How do I get an accurate error status return from system on ms-dos?
What is the difference between far and near in c?