for(i=1;i>0;i++);
printf("i=%d",i);
what will be the answer????

Answer Posted / guest

i=1i=1etc.

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is fflush() function?

649


Is anything faster than c?

591


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

803


What does sizeof function do?

623


Write a program to print "hello world" without using a semicolon?

600






what is a function method?give example?

1918


What does 3 mean in texting?

623


How do you list files in a directory?

569


What is the return type of sizeof?

601


How can I get random integers in a certain range?

619


Write the syntax and purpose of a switch statement in C.

631


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

669


What is meant by type casting?

633


Tell us the use of fflush() function in c language?

645


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1269