Conditional Operator | C interview questions and answers

Sdílet
Vložit
  • čas přidán 4. 09. 2024
  • This video focuses on solving the questions based on "conditional operator" or "ternary operator" which are asked in technical interviews. We try to simplify their solution in an easy to understand approach. Pratice these C Programming questions and answers for interviews, campus placements, online tests, aptitude tests, quizzes and competitive exams. These questions can be attempted by anyone focusing on learning C Programming language.

Komentáře • 27

  • @dushyantmehta8831
    @dushyantmehta8831 Před 6 lety +3

    very nice video sir...

  • @adil470
    @adil470 Před 3 lety +3

    Tq sir

  • @prathmeshkesare6555
    @prathmeshkesare6555 Před 4 lety +1

    @Tarun sir..thanQ

  • @DisneyToons_007
    @DisneyToons_007 Před rokem +1

    #include
    int main()
    {
    int x, a = 5, b = 7;
    a > b ? x = 5 : x = 7;
    printf("Enter a value: %d", x);
    return 0;
    }
    Sir please is program mai x = 7 parenthesis nhi laga raha hu toh error aa rahi hai kyu sir please btao sir kyu 🙏🙏🙏 sir agar isse (x= 7) kr raha hu toh koi error nhi aa rahi hai kyu please 🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @ashishgoyal6527
    @ashishgoyal6527 Před rokem +1

    Helpful 😍

  • @Satyam_10
    @Satyam_10 Před 4 lety +1

    Nice video

  • @pramodapatra2684
    @pramodapatra2684 Před 3 lety +1

    Thnnks sir

  • @pranathisrungavarapu8334

    Sir plz make more vedios on interview questions

  • @pramodapatra2684
    @pramodapatra2684 Před 3 lety +1

    In question no 3 b++ how to change 0 to. 1

  • @amirjahacongress7010
    @amirjahacongress7010 Před rokem +1

    Question 2 me sir control aage ni jaega kya

  • @aupamdixit814
    @aupamdixit814 Před 5 lety +2

    Thanks sir

  • @ashishsagane1989
    @ashishsagane1989 Před 2 lety

    3:06 Sir conditional opra. R to L solve karna padta hai ky in (qu.2)

  • @Raj-ql2vz
    @Raj-ql2vz Před 4 lety

    Sir is it useful for c-cat cdac exam

    • @tarunsir
      @tarunsir  Před 4 lety

      Yes, definitely these are useful

    • @Raj-ql2vz
      @Raj-ql2vz Před 4 lety +1

      @@tarunsir thanks a lot sir..! Whenever I search for McQ after completing any topic from c ,it shows your channel at top ,and it's good.

  • @kuldeepkumbhar9741
    @kuldeepkumbhar9741 Před 3 lety

    Q5. Wt you hve explain that is wrong there is not compulsory to have all expression.

    • @tarunsir
      @tarunsir  Před 2 lety

      How it is wrong ??? Is it possible in conditional operator that we do not write anything before ?, After ? Or after :

  • @DSCSNayanakb
    @DSCSNayanakb Před 5 lety

    Explain properly

    • @tarunsir
      @tarunsir  Před 5 lety +2

      In which question you are facing problem? Please watch the full playlist instead of picking a video from some random spot. Thank you.

    • @Isha7558
      @Isha7558 Před 5 lety

      @@tarunsir 3rd one not understand sir ?