void main()
{
for(; 0 ;)
... {
printf("hello");
... }
getch();
}



void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }..

Answer / shaik. jani bahsa

result is nothing, because 0 means false, 1 means true
once cond false pointr comes out of the loop.

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More C Interview Questions

How do you generate random numbers in C?

0 Answers  


matrix multiplication fails introspect the causes for its failure and write down the possible reasons for its failurein c language.

5 Answers   TCS,


main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?

7 Answers   AMCAT, HCL, Ramco, Zycus Infotech,


wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }

2 Answers  


Can you mix old-style and new-style function syntax?

0 Answers  






Explain what is wrong with this statement? Myname = ?robin?;

0 Answers  


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

0 Answers   KPIT,


is assignment operator is arithmatic or not

3 Answers   Infosys,


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

0 Answers  


Can a pointer be volatile in c?

0 Answers  


How. To pass the entrance test

1 Answers   Tech Mahindra,


to find the program of matrix multiplication using arrays

6 Answers   Bhel,


Categories