Please help me to explain what can go wrong with the following C code, why it looping forever? I don't understand.
Regards.Code:#include "stdafx.h" #include <stdio.h> int main() { int x; float y; x = 1; while (x > 0) { y = x+1; x = y; } return 0; }