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

Поделиться
HTML-код
  • Опубликовано: 2 дек 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

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

  • @denydda
    @denydda 4 года назад +60

    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 года назад +2

      Please give me notes link of these lectures

  • @gmramkumar9536
    @gmramkumar9536 3 года назад +148

    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 Год назад +2

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

  • @asapnino3625
    @asapnino3625 Год назад +35

    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 7 месяцев назад +1

      What a vision what a thought

  • @venup5381
    @venup5381 3 года назад +86

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

    • @tejeswar5925
      @tejeswar5925 2 года назад +10

      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 4 месяца назад

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

  • @sakandchoudhary2941
    @sakandchoudhary2941 3 года назад +8

    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.

  • @18fatima15
    @18fatima15 8 месяцев назад +1

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

  • @Bism_illah
    @Bism_illah 3 года назад +49

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

  • @Aavi_singh
    @Aavi_singh 3 года назад +17

    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 😃

  • @sathwik1408
    @sathwik1408 9 месяцев назад +3

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

  • @shivasandeepn2821
    @shivasandeepn2821 3 года назад +6

    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 года назад +11

    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 2 года назад +9

    Tq so much madam love from Ap ❤️💫

  • @rajvanshiarun9792
    @rajvanshiarun9792 4 года назад +5

    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 .

  • @shinyrao2786
    @shinyrao2786 3 года назад +28

    %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

    • @breakinggood-r2v
      @breakinggood-r2v 3 года назад +1

      You Are goddmann right

  • @kanishs3452
    @kanishs3452 4 года назад +3

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

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

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

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

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

  • @chinweokwugiftchiedozie1587
    @chinweokwugiftchiedozie1587 Год назад +2

    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.

  • @isaac-victorshonowo1838
    @isaac-victorshonowo1838 Год назад +1

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

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

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

  • @maniksiva1117
    @maniksiva1117 Год назад

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

  • @s.ugamage8677
    @s.ugamage8677 3 года назад +2

    Thanks for giving wide expalanation about c language ❤️

  • @bharathivlogs1306
    @bharathivlogs1306 2 года назад +2

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

  • @statuskingsandip5769
    @statuskingsandip5769 2 года назад +3

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

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

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

  • @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 ❤

  • @vijayrock7071
    @vijayrock7071 4 года назад +15

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

  • @pragatinalawade5335
    @pragatinalawade5335 2 года назад

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

  • @bhaskardwivedi4211
    @bhaskardwivedi4211 3 года назад +9

    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..

  • @vinaymalik5437
    @vinaymalik5437 4 года назад +5

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

  • @t.c.v.vbhaskar3695
    @t.c.v.vbhaskar3695 2 года назад

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

  • @bhumeshborole7603
    @bhumeshborole7603 4 года назад +1

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

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

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

  • @Mr.Yaragonda
    @Mr.Yaragonda 3 года назад +1

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

  • @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.

  • @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

  • @simrandeepsingh8728
    @simrandeepsingh8728 4 года назад +1

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

  • @artwithakshita
    @artwithakshita 3 года назад

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

  • @specificgyan-adarshmishra7857
    @specificgyan-adarshmishra7857 4 года назад +1

    Cool lecture like as cold day 👩‍💻

  • @IctSolutionForEveryone
    @IctSolutionForEveryone Год назад

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

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

    A huge thanks to u ma'am 🙏

  • @arifpatan7180
    @arifpatan7180 2 года назад

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

  • @gudapavani9004
    @gudapavani9004 2 года назад

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

  • @kethavathanusha6252
    @kethavathanusha6252 3 года назад

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

  • @SchooloDoodlo
    @SchooloDoodlo 3 года назад

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

  • @GamaSingh-s1b
    @GamaSingh-s1b 20 дней назад

    Nice explanation 👍👍👍👍

  • @tithighosh2169
    @tithighosh2169 4 года назад +1

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

  • @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?

  • @choudhary.0402
    @choudhary.0402 3 года назад

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

  • @Knight__sword-q4x
    @Knight__sword-q4x 2 года назад

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

  • @kk.beat.s3370
    @kk.beat.s3370 3 года назад +3

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

  • @Lazy_Coder0
    @Lazy_Coder0 3 года назад

    Mam i like your all lecture 👌👌❤️💗

  • @shreyabiswas7313
    @shreyabiswas7313 3 года назад

    Mam , Ans will be 127 for both unsigned and signed

  • @vaishnavinagrale5429
    @vaishnavinagrale5429 2 года назад

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

  • @himansu8367
    @himansu8367 Год назад

    Love from Odisha ❤

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

    I am addicted to your lecture mam

  • @sreevidyam8963
    @sreevidyam8963 4 года назад +4

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

  • @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... 😇

  • @KhushiJain-ht1tx
    @KhushiJain-ht1tx 4 года назад +1

    Mam also upload the video for java programming

  • @DantaGayatri
    @DantaGayatri 6 месяцев назад

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

  • @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

  • @sabbaniramakrishna8850
    @sabbaniramakrishna8850 2 года назад

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

  • @mrVicky-lj3vh
    @mrVicky-lj3vh 4 года назад +5

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

  • @ogudufred7556
    @ogudufred7556 Год назад

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

  • @AnuSurya10
    @AnuSurya10 3 месяца назад

    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.

  • @khadijabinteyasin649
    @khadijabinteyasin649 3 года назад

    Love ❤️ from Bangladesh

  • @tapasnayak3708
    @tapasnayak3708 3 года назад

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

  • @futurehope2790
    @futurehope2790 3 года назад

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

  • @anishmisra8196
    @anishmisra8196 3 года назад

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

  • @priyagaikwad4282
    @priyagaikwad4282 2 года назад

    The answer is 127
    Printf("%u", d)
    Output : +127

  • @nocodelimits
    @nocodelimits 3 года назад

    the value of unsigned char d=-129is127

  • @princeyadav9268
    @princeyadav9268 3 года назад

    Unsigned char d = -129
    Unsigned printf("%C" ,d)
    Output is= 127

  • @raj18ayush
    @raj18ayush 4 года назад +1

    Mam make tutorials on web development

  • @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?

  • @AvinashKumar-pd4gd
    @AvinashKumar-pd4gd 3 года назад

    Thanks ma'am 🙏🙏🙏

  • @Bana_K
    @Bana_K Год назад

    Printf%c d= symbol
    Printf%d d=127

  • @vvi714
    @vvi714 4 года назад +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

  • @tanyatiwari262
    @tanyatiwari262 3 года назад

    for %d and%u will be print 127

  • @parteners882
    @parteners882 Год назад +1

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

  • @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

  • @ArunKumar-km9cy
    @ArunKumar-km9cy 2 года назад

    U are so great ❤️😘

  • @food8814
    @food8814 3 года назад +2

    127 will be printed in -129 one

  • @ShivaniSingh-hs9et
    @ShivaniSingh-hs9et 3 года назад

    Thanks a lot ma'am 🙏

  • @kodaliravi6730
    @kodaliravi6730 4 года назад +1

    clear voice

  • @Kiddyrotbiddy
    @Kiddyrotbiddy Год назад

    4000th like from pulivendula (AP)

  • @nikhithavoonna5133
    @nikhithavoonna5133 3 года назад

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

  • @ogfactboy1977
    @ogfactboy1977 2 месяца назад

    Mam character variable me agar kuch save karna ho toh hum single quote ka use karte he toh aapne b=98 kaise liye b='98' ku nahi ! Dono karne ke baad alag alag output aa raha hai !

  • @maryannemuthoni5388
    @maryannemuthoni5388 10 месяцев назад

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

  • @varunchaudhary6446
    @varunchaudhary6446 3 года назад

    Thanks mam for teach us

  • @bishaldutta548
    @bishaldutta548 3 года назад

    Thank you, mam 🙏

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

    Thank you mam❤️☺️

  • @manojaravind9277
    @manojaravind9277 2 года назад

    Unsigned char d=-129
    %c = some symbols
    %d=127
    %u=127

  • @deganath106
    @deganath106 Год назад

    Mam can you please tell, is calculus used in Machine Learning

  • @izharkhankhattak
    @izharkhankhattak 3 года назад

    A very nice lecture.

  • @kakarlarajesh9254
    @kakarlarajesh9254 Год назад

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

  • @walkwithme_P62
    @walkwithme_P62 3 года назад

    127 well be printed for unsigned -129

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

    Mam.....Can you please do videos on C++ Language

  • @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??

  • @vasumeduri5103
    @vasumeduri5103 2 года назад

    Char d= -129 then it will print 127