what is op?
for(c=0;c=1000;c++)
printf("%c",c);

Answer Posted / jay sean

The output of the given program is the character or ascii
value of 0,1,2,..........so on up to the stack of memory
get full.The reason behind it is the condition for
termination is not given in the for loop,because c=1000 is
assingment operator not a conditional.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a program flowchart and how does it help in writing a program?

669


Is c a great language, or what?

608


how to write optimum code to divide a 50 digit number with a 25 digit number??

2757


What is the scope of global variable in c?

560


write a program to print largest number of each row of a 2D array

1876






in iso what are the common technological language?

1639


What is the difference between malloc calloc and realloc in c?

655


What is the c value paradox and how is it explained?

581


How do I swap bytes?

634


What is #define?

578


Can include files be nested? How many levels deep can include files be nested?

660


Can stdout be forced to print somewhere other than the screen?

627


Explain what is wrong with this program statement? Void = 10;

768


What is the difference between break and continue?

611


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

671