main()
{
intj;
while9j<=10)
{
printf("\n%d",j);
j=j+1;
}
}
Answers were Sorted based on User's Feedback
Answer / ritesh kumar
Since variable j is not initialised it will contain garbage
value hence the output(imposed on the while loop condition)
may be unexpected ..
| Is This Answer Correct ? | 13 Yes | 1 No |
What do you mean by command line argument?
What is the heap in c?
what is the other ways to find a logic to print whether a number is an even or odd wit out using % symbol??????? i know three different ways to print it. so i need any other different logic>>>>>
What is the use of ?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What is the output of the following program main();{printf ("chennai""superkings"}; a. Chennai b. superkings c. error d. Chennai superkings
Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.
Is main a keyword in c?
Explain how can you determine the size of an allocated portion of memory?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
Can two or more operators such as and be combined in a single line of program code?