what will be the output of this program
main()
{
int i=1;
while (i<=10);
{
i++;
}
}
Answer Posted / aswini
answer will be 10.it will never execute the loop as there
is semicolon.hence directly 10 will be assigned to i.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How can I change their mode to binary?
Why ca not I do something like this?
What is meant by errors and debugging?
What is a structure in c language. how to initialise a structure in c?
Can you pass an entire structure to functions?
What is function what are the types of function?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What's the best way of making my program efficient?
In a byte, what is the maximum decimal number that you can accommodate?
What are the different file extensions involved when programming in C?
What is output redirection?
Explain what is the benefit of using enum to declare a constant?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What is data structure in c programming?
What is sizeof in c?