Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / rohit

it will come out of the for loop & hence no output.
because,when c=0,then for next condition it will check
whether 0==1000,the condition fails here itself only.
so,it doesn't go for executing any statement.

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

2023


What is the 'named constructor idiom'?

1035


What is size of union in c?

980


In a switch statement, explain what will happen if a break statement is omitted?

999


What does a pointer variable always consist of?

1045


write a c program for swapping two strings using pointer

2569


What is selection sort in c?

1021


Which is best book for data structures in c?

1042


What are the types of operators in c?

1006


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1016


Difference between goto, long jmp() and setjmp()?

1126


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1273


How to draw the flowchart for structure programs?

9267


Does * p ++ increment p or what it points to?

1057


What are the modifiers available in c programming language?

1177