Skip to main content
added 43 characters in body
Source Link
lennon310
  • 3.2k
  • 7
  • 19
  • 35

DeadMG's as useless said it very well . I just want to make it simple as per my knowledge, so iI can contribute to society a little bit .

  1. you know size , you know values .

1)you know size, and you know values .

2)you know size but u donoyou don't know values .

3)you donnodon't know size  , and you donnodon't know values .

4)you know size, so you want to create explicit heap allocation with size you. You know through malloc but you donnodon't know values .

5)you donnodon't know size, but you want to create an explicit alocationallocation to heap, and obviously you donnodon't know values too.

Hope this reduces many ambiguities . Thanks to all .

DeadMG's as useless said it very well . I just want to make it simple as per my knowledge, so i can contribute to society a little bit .

  1. you know size , you know values .

2)you know size but u dono values .

3)you donno size  , you donno values .

4)you know size so you want to create explicit heap allocation with size you know through malloc but you donno values .

5)you donno size but you want to create an explicit alocation to heap and obviously you donno values too.

Hope this reduces many ambiguities . Thanks to all .

DeadMG's as useless said it very well . I just want to make it simple as per my knowledge, so I can contribute to society a little bit .

1)you know size, and you know values .

2)you know size but you don't know values .

3)you don't know size, and you don't know values .

4)you know size, so you want to create explicit heap allocation with size. You know through malloc but you don't know values .

5)you don't know size, but you want to create an explicit allocation to heap, and obviously you don't know values too.

Hope this reduces many ambiguities . Thanks to all .

Source Link

DeadMG's as useless said it very well . I just want to make it simple as per my knowledge, so i can contribute to society a little bit .

  1. you know size , you know values .

2)you know size but u dono values .

3)you donno size , you donno values .

4)you know size so you want to create explicit heap allocation with size you know through malloc but you donno values .

5)you donno size but you want to create an explicit alocation to heap and obviously you donno values too.

Hope this reduces many ambiguities . Thanks to all .