09 - GARBAGE VALUES AND SEQUENTIAL EXECUTION - C PROGRAMMING

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025

Комментарии • 26

  • @rahulsinghjadon6473
    @rahulsinghjadon6473 2 года назад +1

    great sir

  • @VivekSingh-uo9cp
    @VivekSingh-uo9cp 3 года назад +1

    awesome sir , wow!!

  • @bhanuprasadveluri2656
    @bhanuprasadveluri2656 6 лет назад +2

    Super example and explanation

  • @somasekarub3793
    @somasekarub3793 5 лет назад +5

    Hello sir,
    Thanks for your explanation on garbage value and regarding sequential execution.
    But the question here is how exactly the compiler will calculate the garbage value?
    Is there any secret logic hidden behind it?
    Since simply the compiler won't generate on its own..
    Also people could say that if the var is not initialized and if suppose if it is stored in stack that particular location is used by some other application and during it's exit it won't clear the location and get killed.
    But the above explanation is not sufficient.... I need the hidden secret behind it.
    Could you kindly let me know or explain if some thing is there for calculating the garbage value.
    Thank you in advance... :-)

  • @amitrohilla7447
    @amitrohilla7447 5 лет назад +1

    Very beautiful explation

  • @prssybasketball
    @prssybasketball 3 года назад +1

    Thank for your awesome explanation sir

  • @vaseemakram5865
    @vaseemakram5865 5 лет назад +1

    Very good explanation

  • @bibeksinghthakuri8273
    @bibeksinghthakuri8273 6 лет назад +1

    Nice work sir a great thanks. .😍😍

  • @wajahatalimirza1431
    @wajahatalimirza1431 6 лет назад +1

    Zabardast

  • @ashayfernandes4722
    @ashayfernandes4722 7 лет назад +4

    nice explanation Sir

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад +1

      thank you ashay for watching my video and thanks for supporting my channel.

  • @pratyushadas9219
    @pratyushadas9219 4 года назад

    In this sequential execution program if we use scanf function. Then a=a+1 declare which line...
    Like int a, b;
    Printf("enter the value of a, b);
    Scanf(" %d %d",&a, &b)
    Printf (" a=%d
    b=%b", a, B)

  • @dqfan3891
    @dqfan3891 6 лет назад +1

    Super sir

  • @srisai1200
    @srisai1200 5 лет назад +1

    you said the program i exicuted sir , but waring shows: function 'getch' have a prototype. and warning; function should return a value

  • @jayaranganath9202
    @jayaranganath9202 Месяц назад

    I need reason, why the garbage value is assigned.

  • @rajarathanam21
    @rajarathanam21 7 лет назад +2

    super video

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад +1

      hi raja
      thanks for your interest and support towards our channel.

  • @elizabeths6391
    @elizabeths6391 7 лет назад +5

    sir i done the same program and it gets result successfully but some of the arrays is not getting actual variable value in output screen after initializing the variable how could we erase the garbage value in output screen?

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      Hi Elizabeth if you declare any variable which is not initialized will be having Garbage values. Coming to arrays of you initializa ateast 1 element then all the remaining elements which are declared will be having zeros.
      Example : if you declare an array A[3] ={0};
      This statement implies A[0] A[1] A[2] the three elements will be initialized to zeros and A[3] will be having garbage value.
      Hope your doubt has been clarified.

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      Hi Elizabeth plz make a selfie video with your feedback on my RUclips channel and send to my WhatsApp number 9885466061 expecting feedback from you soon. Thanks for watching my sessions.

    • @elizabeths6391
      @elizabeths6391 7 лет назад +1

      not only one program sir any one i used to practice an array programs but not coming any problem proper output. but i copy from link and paste means it will execute properly and give the result. when iam not getting the output correctly, i'll debug. in that case also it is behaving crazy

    • @elizabeths6391
      @elizabeths6391 7 лет назад

      and i dont have selfi camera in my mobile to send the video ms

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      hi better you just post your program as comment so that i will clarify your all doubts.

  • @Calmpredator
    @Calmpredator 4 года назад

    Sir if the value of the variable is filled with garbage value then how come the program is understanding
    a=a+1 as at the place of a we have assigned 5 and ww know that 5 is not equals to 5 + 1 that is 6.

  • @Jagadeeshbabu5
    @Jagadeeshbabu5 6 лет назад +1

    Nice explanation Sir