If we declare a variable in c programming as integer without defining value then printf prints some garbage value from buffer. Is there any method to prevent printing the garbage value?
I want to check if something can be done at compile time? if possible?