C_12 Data Types in C - Part 3 | C Programming Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024
  • In this Lecture we will learn all about Character Data Type in C with programs.
    Best C Programming Tutorials : • Programming in C
    *******************************************
    Connect & Contact Me:
    My Second Channel Link: bit.ly/354n7C7
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    *********************************************
    More Playlists:
    C++ Programming Tutorials: • Lec 1: How to Install ...
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Design and Analysis of Algorithms(DAA): • Design and Analysis of...
    Python Full Course: • Python - Basic to Advance
    Printing Pattern in C: • Printing Pattern Progr...
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    #cprogramming #jennyslectures #programming #datatypes #clanguage

ความคิดเห็น • 244

  • @denydda
    @denydda 3 ปีที่แล้ว +52

    Jenny, you are AMAZING.
    Many congratulations on the work that you do. The explanations and the videos are extremely useful and I admire a lot the work that you put on each video.
    Keep up the good work

    • @sahilanand4385
      @sahilanand4385 3 ปีที่แล้ว +1

      I think I seen u somewhere mam

    • @ashudwivedi9901
      @ashudwivedi9901 ปีที่แล้ว +2

      Please give me notes link of these lectures

  • @gmramkumar9536
    @gmramkumar9536 3 ปีที่แล้ว +139

    500th like from TamilNadu

    • @moumitachakraborty9058
      @moumitachakraborty9058 3 ปีที่แล้ว +8

      Please like in odd number means like 501 times

    • @vignesh1963
      @vignesh1963 2 ปีที่แล้ว +8

      Bro Ella video vum paathutinga laa

    • @ArGha03
      @ArGha03 2 ปีที่แล้ว +1

      @@moumitachakraborty9058 🤔🤔

    • @pragalya.k351
      @pragalya.k351 2 ปีที่แล้ว +3

      Me too frm tamilnadu

    • @yashedits3466
      @yashedits3466 ปีที่แล้ว +1

      ત્યાં ને ત્યાં રઇજે તું ભાઈ 🙏

  • @asapnino3625
    @asapnino3625 ปีที่แล้ว +26

    like she said, try dry running the program using the circles she used. another easy way to do it is to take the total number of characters, 0-255=256 characters, 256 - 129 = 127. for 256 - 130 = 126. remember that the outputs have no signs because they are for unsigned char...hope this helps someone.

    • @vishaldz
      @vishaldz ปีที่แล้ว +2

      But 256 characters, 0 is treated as 0 and then it goes reverse right ? So for -129 to go backward from 255 it would be taken as -1 then 255-129 = 126. Am I correct ?

    • @Naatu_naatu
      @Naatu_naatu 5 หลายเดือนก่อน +1

      What a vision what a thought

  • @venup5381
    @venup5381 3 ปีที่แล้ว +76

    FOR
    unsigned char d=-129
    for printf("%d",d) THE output is 127
    for printf("%u",d) THE Output is 127.

    • @tejeswar5925
      @tejeswar5925 2 ปีที่แล้ว +7

      for prrintf("%c",d) THE output is (DELETE KEY)

    • @vishaldz
      @vishaldz ปีที่แล้ว +1

      How could it be 127 for for printf("%u",d) as there are only 255 numbers (0-255 =256). The answer should be 126

    • @anasali3616
      @anasali3616 2 หลายเดือนก่อน

      @@vishaldz see for unsigned is 256
      256-129 = 127 so its correct

  • @Vanisingh03
    @Vanisingh03 3 ปีที่แล้ว +15

    Just because of you. I'm interested in c language ..😇😇 your lectures are so useful for me ...thanks a lot ma'am 😊😊😊 you are the best one teacher 😃

  • @Bism_illah
    @Bism_illah 3 ปีที่แล้ว +46

    unsigned char a = -129;
    printf("%d", a);
    OUTPUT: 127
    Same result will be for %u.

  • @sakandchoudhary2941
    @sakandchoudhary2941 3 ปีที่แล้ว +7

    No need to say your lectures are amazing but what I like most about your videos is that smile of yours in last when your Video finishes.

  • @shinyrao2786
    @shinyrao2786 3 ปีที่แล้ว +27

    %c= some symbol
    %d=127
    %c=127
    Super explanation mam👌👌🥰

    • @Lazy_Coder0
      @Lazy_Coder0 3 ปีที่แล้ว

      Wrong ans bro

    • @Lazy_Coder0
      @Lazy_Coder0 3 ปีที่แล้ว +2

      You didn't declare Int or char value in this program
      Ex:-
      #include
      Void or int main()
      {
      Int a =127
      Printf ("%d
      ",a);
      Printf ("%c
      ",a);
      Reaturn 0;
      }
      Out put
      a
      127

    • @nithin3476
      @nithin3476 2 ปีที่แล้ว +1

      You Are goddmann right

  • @shivasandeepn2821
    @shivasandeepn2821 3 ปีที่แล้ว +4

    Mam your C language classes were very very helpful. You are the best lecturer I have ever seen. Plz continue your teaching forever in programming 🙏🙏🙏🙏🙏🙏🙏🙏

  • @aditiraj8147
    @aditiraj8147 3 ปีที่แล้ว +9

    Ma'am for char d= -129, %c will give character value for 127 and %d will give 127.

  • @poornimab8877
    @poornimab8877 2 ปีที่แล้ว +2

    Excellent explanation actually i have completed diploma in computer science 2013 even I got a result first class but I didn't understand properly I thought I can't understand the c language but when I am following you really it's a great days for us now I can tell you really I may reach c programming for Icse students because my dream is actually lecture but I didn't complete engineering so can teach as a teacher for ICSE students so Now it's my dream will see what will happen

  • @vijayapendyala6013
    @vijayapendyala6013 ปีที่แล้ว +6

    Tq so much madam love from Ap ❤️💫

  • @kanishs3452
    @kanishs3452 3 ปีที่แล้ว +3

    One the best thing in this world is teaching what you know💥💥💥

  • @sathwik1408
    @sathwik1408 6 หลายเดือนก่อน +2

    unsigned char d =-129
    printf(%c,d)-->>127 th character
    printf(%d,d)-->>127
    printf(%u,d)-->127

  • @vijayrock7071
    @vijayrock7071 3 ปีที่แล้ว +15

    Super mam 😍😍😘😘love from Chennai please put every concepts mam I'm daily watching ur lecture of c programming mam

  • @18fatima15
    @18fatima15 6 หลายเดือนก่อน +1

    19:26 unsigned char d=-129
    for printf("%d",d) OUTPUT is 127
    for printf("%u",d) OUTPUT is 127.

  • @rajvanshiarun9792
    @rajvanshiarun9792 3 ปีที่แล้ว +3

    Mam I am student of b pharma but i want to study data structure only for additional information because your teaching style is too good and thnks for it .

  • @chinweokwugiftchiedozie1587
    @chinweokwugiftchiedozie1587 ปีที่แล้ว +1

    Thanks so much for your lectures ma'am. They help a lot
    The output for unsigned char d = -129 should be == 127 both for unsigned and signed.

  • @bhaskardwivedi4211
    @bhaskardwivedi4211 2 ปีที่แล้ว +7

    I m running with ur video , would also give 1 less than infinite like to all ur video...from eastern UP
    Mam I m kindly urge u 2 please make complete series of videos on
    C++ , java and Python .. 🙏
    I am waiting whatever it takes..

  • @gmramkumar9536
    @gmramkumar9536 3 ปีที่แล้ว +1

    Your smile in 22:28... That's thats really awesome akka

  • @vinaymalik5437
    @vinaymalik5437 3 ปีที่แล้ว +5

    Mam please complete the playlist of Design and analysis of algorithm 🙏🙏🙏🙏🙏🙏

  • @SadhanaSharma
    @SadhanaSharma 2 ปีที่แล้ว +1

    20:58 answer is
    For %c any garbage symbol will be printed
    For %d and %u 127 will be printed

  • @s.ugamage8677
    @s.ugamage8677 3 ปีที่แล้ว +2

    Thanks for giving wide expalanation about c language ❤️

  • @maniksiva1117
    @maniksiva1117 ปีที่แล้ว

    Its easy to understand your teaching knowledge and same time easy to learn💯 thanks for easy to teach

  • @asimsk7841
    @asimsk7841 3 ปีที่แล้ว

    #include
    int main()
    {
    unsigned char a=-129;
    printf("%d
    ",a);
    printf("%u
    ",a);
    }
    OUTPUT. 127 127

  • @bharathivlogs1306
    @bharathivlogs1306 ปีที่แล้ว +1

    Thank you so much mam ✨
    A lots of love from Andhrapradesh 🙏

  • @statuskingsandip5769
    @statuskingsandip5769 2 ปีที่แล้ว +2

    I am studying BCA.from Maharashtra. Thanks for such a good explanation mam.best ever and free of cost playlist every student should watch.

  • @nocodelimits
    @nocodelimits 3 ปีที่แล้ว +1

    mam it is really so complicated in the values of unsigned-130 because it does comes in unsigned char

  • @kritikeshari3231
    @kritikeshari3231 2 ปีที่แล้ว +1

    Ma'am your explanation is great and I understand it very well. Thankyou ma'am😊

  • @vvi714
    @vvi714 3 ปีที่แล้ว +5

    Mam can you please make a video on how to manage time..
    I'm really facing lots of difficulties so i request you to make one such video

    • @mohitsangwan3704
      @mohitsangwan3704 3 ปีที่แล้ว +1

      programmer need to ignore all disturbance things

  • @saikiranreddy8135
    @saikiranreddy8135 3 ปีที่แล้ว +1

    Unsigned char d = -129
    Print f ("%c",d) = it will print some symbol.
    Print f ("%d",d) = 126
    For % u also same value

    • @iasaspirant1441
      @iasaspirant1441 3 ปีที่แล้ว +2

      127 broh output

    • @saikiranreddy8135
      @saikiranreddy8135 3 ปีที่แล้ว +1

      @@iasaspirant1441 ha bro nenu first adhe pettanu but doubt vachi Malli idhi petta ayithe ippudu 127 correct ee kadha

    • @iasaspirant1441
      @iasaspirant1441 3 ปีที่แล้ว +1

      @@saikiranreddy8135 haa 127 yee broh correct answer

    • @saikiranreddy8135
      @saikiranreddy8135 3 ปีที่แล้ว

      @@iasaspirant1441 ok bro neeku insta undha daantlo chat chedham aa ante comments lo chats enti chethagha undhi gha if u have insta comment u r name in that ok bro

    • @iasaspirant1441
      @iasaspirant1441 3 ปีที่แล้ว +1

      @@saikiranreddy8135 _nuthanreddy_647 broh na id

  • @bhumeshborole7603
    @bhumeshborole7603 3 ปีที่แล้ว +1

    Your videos are truly very helful thanks for the effort...

  • @specificgyan-adarshmishra7857
    @specificgyan-adarshmishra7857 3 ปีที่แล้ว +1

    Cool lecture like as cold day 👩‍💻

  • @isaac-victorshonowo1838
    @isaac-victorshonowo1838 ปีที่แล้ว

    Explanation was too smooth and easy to understand.
    Watched and Understood. ❤

  • @mrVicky-lj3vh
    @mrVicky-lj3vh 3 ปีที่แล้ว +5

    Mam did you have c language
    Any notes or PDF please I want that mam....

  • @t.c.v.vbhaskar3695
    @t.c.v.vbhaskar3695 2 ปีที่แล้ว

    □ this for char(%c)
    d=-129 o/p is 127 in(%d)
    Super teaching mam

  • @pragatinalawade5335
    @pragatinalawade5335 2 ปีที่แล้ว

    i am new lerner . Nice explanation it helps to new lerner

  • @anusha_pathivada
    @anusha_pathivada ปีที่แล้ว

    For char d=130 I got symbol of box with that a question mark symbol
    Loving your videos mam tq so much for teaching us ❤

  • @debojitacharjee
    @debojitacharjee 3 ปีที่แล้ว +1

    *WHAT IS THE MEANING OF DECLARING A CHARACTER VARIABLE BY ASSIGINING A NUMERIC VALUE?* - a character variable is used in a program to perform character operations and it needs to be initialized using single quotes ('), but why are you showing direct initialization? Who will do that?

  • @KhushiJain-ht1tx
    @KhushiJain-ht1tx 3 ปีที่แล้ว +1

    Mam also upload the video for java programming

  • @arifpatan7180
    @arifpatan7180 2 ปีที่แล้ว

    Mam your teaching is good mam you are some programmers are practicing on system to teach

  • @rubinafarooq3334
    @rubinafarooq3334 2 ปีที่แล้ว +1

    A huge thanks to u ma'am 🙏

  • @kumaran8039
    @kumaran8039 ปีที่แล้ว

    Output-127
    In simple
    In unsigned int 0 to 255 including 0
    We 256. The given no is -129
    To minus the 129 from 256 is 127 in positive(unsigned)

    • @vishaldz
      @vishaldz ปีที่แล้ว

      However, 256 is in total (0-255) but actual number in reverse starts from 255. So -1 count begins from 255, as Zero is considered as Zero. If 255 is treated as -1 then the answer should be 126.

  • @Mr.Yaragonda
    @Mr.Yaragonda 3 ปีที่แล้ว +1

    Thank you❤🌹😊 so much❤ madam...... You are doing great👏😊....

  • @kk.beat.s3370
    @kk.beat.s3370 2 ปีที่แล้ว +3

    Can u give Notes as pdf.......
    Nice explanation 😀

  • @simrandeepsingh8728
    @simrandeepsingh8728 3 ปีที่แล้ว +1

    Mam after c ...make tutorials on python too.............Again a very helpful video

  • @tithighosh2169
    @tithighosh2169 3 ปีที่แล้ว +1

    Ma'am please upload videos of pointers, structure,union, enum,files handling, command line argument of c

  • @sreevidyam8963
    @sreevidyam8963 3 ปีที่แล้ว +4

    Ma'am, please provide notes in pdf form for each video.

  • @kodaliravi6730
    @kodaliravi6730 3 ปีที่แล้ว +1

    clear voice

  • @shreyabiswas7313
    @shreyabiswas7313 3 ปีที่แล้ว

    Mam , Ans will be 127 for both unsigned and signed

  • @kethavathanusha6252
    @kethavathanusha6252 3 ปีที่แล้ว

    Your teaching is super mam am waiting to listening like ur vedios mam thank you so much mam

  • @choudhary.0402
    @choudhary.0402 2 ปีที่แล้ว

    Mam c++ bhi padha dena plzz mjhe aaj tak c aapki hi samjh aai h..naii to hamesa upr se hi gya h ...

  • @SchooloDoodlo
    @SchooloDoodlo 3 ปีที่แล้ว

    Thank you for your amazing explanation
    I tried for y and i got the result before using computer

  • @raj18ayush
    @raj18ayush 3 ปีที่แล้ว +1

    Mam make tutorials on web development

  • @tegullaarvind541
    @tegullaarvind541 ปีที่แล้ว +1

    Mam how did you get z has 122

  • @artwithakshita
    @artwithakshita 3 ปีที่แล้ว

    Ma'am you and work you are doing is great .

  • @food8814
    @food8814 3 ปีที่แล้ว +2

    127 will be printed in -129 one

  • @parteners882
    @parteners882 10 หลายเดือนก่อน +1

    unsigned char d= -129 is with %c have 127 and %d have also 127 is it correct answer

    • @lalitharamachandra6659
      @lalitharamachandra6659 9 หลายเดือนก่อน

      Yes when I had tried, I also got the same answer

  • @AnuSurya10
    @AnuSurya10 24 วันที่ผ่านมา

    The answer for homework.
    (127 is stored in d)
    printf("%c",d); is some garbage character. (In my compiler, its Home symbol)
    printf("%d",d); is 127.
    printf("%u",d); is 127.

  • @Mov278
    @Mov278 2 ปีที่แล้ว

    I think that printf and unsigned will be small letters because c programming in case sensitive,I think so

  • @syedalifathimaa9618
    @syedalifathimaa9618 3 ปีที่แล้ว +1

    I have one doubt,
    unsigned char d = -129;
    printf("%c",d);
    printf("
    ");
    printf("%d",d):
    printf("
    ");
    printf("%u",d);
    output:
    127
    127
    why instead of printing the garbage symbol for %c, it prints space. Is space is a garbage symbol?

  • @aartisharma8412
    @aartisharma8412 3 ปีที่แล้ว

    I am addicted to your lecture mam

  • @suseelaallampati6932
    @suseelaallampati6932 2 ปีที่แล้ว

    Unsigned char d=-129
    Print f ("%c", d) > any garbage value
    Print f ("%d", d) >127
    Print f ("%u", d) >127....
    127 I am getting output mam... 😇

  • @gudapavani9004
    @gudapavani9004 2 ปีที่แล้ว

    Jenny mam your lectures 👌👌👌🥰🥰🥰🥰🤗🤗🤗🤗 and your dressing style 👌👌👌

  • @Kiddyrotbiddy
    @Kiddyrotbiddy 10 หลายเดือนก่อน

    4000th like from pulivendula (AP)

  • @ogudufred7556
    @ogudufred7556 ปีที่แล้ว

    Thank you for the very nice Lecture.
    How you actually compile those codes to check, I'm having a problem with that.

  • @tapasnayak3708
    @tapasnayak3708 3 ปีที่แล้ว

    Thank you so much mam for your useful videos...

  • @purnimaaguptaa6397
    @purnimaaguptaa6397 3 ปีที่แล้ว

    Ma'am u teach well that's very gud thing but can u plzz use a dark marker because whatever you write in your whiteboard isn't clear plzz

  • @sabbaniramakrishna8850
    @sabbaniramakrishna8850 2 ปีที่แล้ว

    1st print some symbol,2nd print -129 n 3rd print also -129

  • @Bangla_jokes
    @Bangla_jokes ปีที่แล้ว

    #include
    char main()
    {
    char a='c';
    printf("%,a");
    }
    Getting output like ,a

  • @himansu8367
    @himansu8367 ปีที่แล้ว

    Love from Odisha ❤

  • @futurehope2790
    @futurehope2790 3 ปีที่แล้ว

    I think it is 127 for both signed and unsigned value of %d

  • @Lazy_Coder0
    @Lazy_Coder0 3 ปีที่แล้ว

    Mam i like your all lecture 👌👌❤️💗

  • @pragatinalawade5335
    @pragatinalawade5335 2 ปีที่แล้ว +1

    how i can download your videos

  • @DantaGayatri
    @DantaGayatri 4 หลายเดือนก่อน

    Printf("%c",d); output is u
    Printf("%d",d); output is 117

  • @PalyamYashwanthsai
    @PalyamYashwanthsai หลายเดือนก่อน +2

    129 will be the answer madam

  • @manmaytilakmohapatra
    @manmaytilakmohapatra ปีที่แล้ว

    For unsigned char d=-129
    The output is=127

    • @sakshiraj8957
      @sakshiraj8957 ปีที่แล้ว

      im trying to dowload compiler mingw....but it has some virus...can u please help

  • @anishmisra8196
    @anishmisra8196 3 ปีที่แล้ว

    For char cud be some value and for the next 2 will be 127 each

  • @vaishnavinagrale5429
    @vaishnavinagrale5429 2 ปีที่แล้ว

    %d=127
    %u=127
    %c=some symbol
    Thank you so much.

  • @kakarlarajesh9254
    @kakarlarajesh9254 ปีที่แล้ว

    Please make video on float double and iee 754 mam please I request u

  • @ShivaniSingh-hs9et
    @ShivaniSingh-hs9et 3 ปีที่แล้ว

    Thanks a lot ma'am 🙏

  • @izharkhankhattak
    @izharkhankhattak 3 ปีที่แล้ว

    A very nice lecture.

  • @rushikeshsanap1981
    @rushikeshsanap1981 ปีที่แล้ว

    Thank you ma'am

  • @rajinisanagalla
    @rajinisanagalla 4 หลายเดือนก่อน

    mam in that programme there are 3 times d will be printed and it shows error

  • @NareshChalimatti
    @NareshChalimatti 11 หลายเดือนก่อน

    We have to put unsigned to becom a singnd value we in program what

  • @prepgate3649
    @prepgate3649 3 ปีที่แล้ว +2

    Ma'am computer organisation kab start hoga

    • @rajkumarprasad9843
      @rajkumarprasad9843 3 ปีที่แล้ว +1

      I will start these subjects. In which semester?

    • @prepgate3649
      @prepgate3649 3 ปีที่แล้ว

      @@rajkumarprasad9843 3 rd sem

    • @rajkumarprasad9843
      @rajkumarprasad9843 3 ปีที่แล้ว

      @@prepgate3649 I am very strong in this subject. I will start this subject in coming months...

  • @tps8470
    @tps8470 2 ปีที่แล้ว

    Thanks A Lot Mam

  • @nocodelimits
    @nocodelimits 3 ปีที่แล้ว

    the value of unsigned char d=-129is127

  • @shivasmart967
    @shivasmart967 ปีที่แล้ว

    tq mam

  • @maryannemuthoni5388
    @maryannemuthoni5388 8 หลายเดือนก่อน

    For -129 the value with %d and %u will be 127

  • @varunchaudhary6446
    @varunchaudhary6446 3 ปีที่แล้ว

    Thanks mam for teach us

  • @continnum_radhe-radhe
    @continnum_radhe-radhe 2 ปีที่แล้ว +1

    🔥🔥🔥

  • @nikhithavoonna5133
    @nikhithavoonna5133 3 ปีที่แล้ว

    Mam for %u of char d =-129 is 127 mam

  • @myethiopia6238
    @myethiopia6238 ปีที่แล้ว

    👌👌👌

  • @rajamanmohan777
    @rajamanmohan777 2 ปีที่แล้ว

    Mam marker me thora ink dal ligiye ... plz

  • @aprajeetasingh4253
    @aprajeetasingh4253 3 ปีที่แล้ว

    Ma'am... In %d why it will refer the signed circle of char... It should refer the signed circle of integer value na coz %d is for singed integer not signed char??

  • @khadijabinteyasin649
    @khadijabinteyasin649 3 ปีที่แล้ว

    Love ❤️ from Bangladesh

  • @arunkumararun7407
    @arunkumararun7407 3 ปีที่แล้ว

    Thank very much mam

  • @tanyatiwari262
    @tanyatiwari262 2 ปีที่แล้ว

    for %d and%u will be print 127

  • @nikhilkamode9090
    @nikhilkamode9090 3 ปีที่แล้ว

    Thank you mam❤️☺️