main()

{

int i=0;

for(;i++;printf("%d",i)) ;

printf("%d",i);

}

Answer Posted / susie

Answer :

1

Explanation:

before entering into the for loop the checking condition is
"evaluated". Here it evaluates to 0 (false) and comes out of
the loop, and i is incremented (note the semicolon after the
for loop).

Is This Answer Correct ?    25 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']

490


Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

2679


how to test pierrot divisor

2253


Write a routine to implement the polymarker function

4373


How can you relate the function with the structure? Explain with an appropriate example.

2915






What is full form of PEPSI

1860


Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

1768


#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

1067


Cluster head selection in Wireless Sensor Network using C programming language.

3107


Write a program to model an exploding firecracker in the xy plane using a particle system

3683


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2255


could you please send the program code for multiplying sparse matrix in c????

3065


write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

2219


can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

2323


Develop a routine to reflect an object about an arbitrarily selected plane

2990