Conditional Statement Help Request

C allows variables to initiated without assigning a value.

I think you mean declared.

And, yes it does. But the variable simply is assigned a memory address that possibly contains some junk.

You need to make lp2 static or global. If you make it static, you need to give it some initial value. If you make it global, the compiler will do that for you.