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
Define VARIABLE?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Explain function?
Can a variable be both static and volatile in c?
What are examples of structures?
Explain the difference between exit() and _exit() function?
How do you define a string?
Write a program to check palindrome number in c programming?
How do you convert strings to numbers in C?
What are data types in c language?
What is the explanation for modular programming?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
What is the difference between break and continue?
#include
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.