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 ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of operators in c?

616


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

615


What is calloc malloc realloc in c?

598


How can a process change an environment variable in its caller?

658


What is formal argument?

654






Does c have function or method?

596


How pointers are declared?

566


What is sizeof array in c?

597


Why is c called c not d or e?

617


Differentiate fundamental data types and derived data types in C.

621


What is this pointer in c plus plus?

600


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

1731


By using C language input a date into it and if it is right?

576


Why malloc is faster than calloc?

594


What is I ++ in c programming?

630