void main(){
int a;
a=1;
while(a-->=1)
while(a-->=0);
printf("%d",a);
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What are the loops in c?

0 Answers  


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

0 Answers  


Can you write the algorithm for Queue?

0 Answers   College School Exams Tests, TCS,


What is the function of volatile in c language?

0 Answers  


WAP to accept first name,middle name & last name of a student display its initials?

5 Answers   AITH, NIIT,






Why is struct padding needed?

0 Answers  


What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?

2 Answers  


How can I trap or ignore keyboard interrupts like control-c?

0 Answers  


size maximum allocated by calloc()

3 Answers   DELL,


What is gets() function?

0 Answers  


Is it possible to use curly brackets ({}) to enclose single line code in c program?

0 Answers  


how can i calculate mean,median,mode by using c program

1 Answers   HCL,


Categories