int i =10
main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10
i++;
}
printf("%d", i);
Answer Posted / vignesh1988i
it will not print i value at all , since the loop is always
true for all cases. since the termination condition is
depending upon n&i,always n<=i, what ever possibe positive
value greater than zero ,it may be.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are qualifiers and modifiers c?
What is 2 d array in c?
What are the types of pointers?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is signed and unsigned?
What is the purpose of main( ) in c language?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
How do I get an accurate error status return from system on ms-dos?
what is bit rate & baud rate? plz give wave forms
What are the primitive data types in c?
Can we use any name in place of argv and argc as command line arguments?
Can you think of a logic behind the game minesweeper.
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
What are register variables in c?
all c language question