main()
{
intj;
while9j<=10)
{
printf("\n%d",j);
j=j+1;
}
}
Answer Posted / 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 |
Post New Answer View All Answers
what is the role you expect in software industry?
Can you please explain the difference between syntax vs logical error?
How can I delete a file?
Explain Function Pointer?
What are the different types of control structures in programming?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
Is c easy to learn?
I have seen function declarations that look like this
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
What does double pointer mean in c?
Define VARIABLE?
What are the advantage of c language?
How many levels of pointers can you have?
What is structure pointer in c?
Explain how can you tell whether a program was compiled using c versus c++?