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


Please Help Members By Posting Answers For Below Questions

Why does the call char scanf work?

611


What is the difference between the local variable and global variable in c?

524


Why is c still so popular?

608


What does *p++ do? What does it point to?

608


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1304






Explain can you assign a different address to an array tag?

636


using for loop sum 2 number of any 4 digit number in c language

1725


Here is a neat trick for checking whether two strings are equal

558


If the size of int data type is two bytes, what is the range of signed int data type?

581


Do you know what are the properties of union in c?

577


Tell me what is null pointer in c?

607


What are 3 types of structures?

590


Explain pointer. What are function pointers in C?

622


What is atoi and atof in c?

612


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 ].

634