jump to last post 1-7 of 7 discussions (7 posts)

what is garbage value?

  1. profile image43
    pooja nayakposted 7 years ago

    what is garbage value?

  2. profile image0
    ankigarg87posted 7 years ago

    garbage value is the value that the program picks without any logic

  3. profile image43
    tornedicaposted 7 years ago

    nothing but actually its useful example there is no value of dug but its useful for plants

  4. profile image31
    nbbatt.composted 7 years ago

    Garbage value is nothing but the value which is not the exact value to the problem if there is a mistake in the problem then it would simply returns a garbage value.

  5. C.V.Rajan profile image79
    C.V.Rajanposted 7 years ago

    The penny earnings from my Hubpage hubs!

  6. internett1t3 profile image56
    internett1t3posted 7 years ago

    It has nothing to do with the C language, it only means that the variable is not initialized, so its value can be anything.

  7. rswary profile image58
    rswaryposted 7 years ago

    Garbage Value:
    If any variable is not initialized then that variables having garbage value(unassigned value).
    For example:
    int i;
    Variable ā€˜iā€™ is integer type but it wont assign any value.so,it take garbage value.It maybe any value.
    Before allocating memory in runtime system does not clear the momory befor allocating the variable.So,default value of the variable is garbage value.