C_26 Unformatted Output Functions in C | C Programming Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

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

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

    Formatted input and output functions contain format specifier in their syntax. Unformatted input and output functions do not contain format specifier in their syntax. They are used for storing data more user friendly. They are used for storing data more compactly

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

    Our college teachers RIP🤣🤣🤣.I m really glad to say that I understand literary every concept which you teach..May almighty god bless you with good health to deliver your knowledge to us🙂😇😇😇😇

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

    puts ( 'a' ); it will give you error but if you put double qoutation puts ( "a" ); it will give you output a

    • @devSackey
      @devSackey ปีที่แล้ว +16

      yeah because puts() write sequence of character(string) to the output not a single character. Also note that single quote is for a single character whilst quote quotes are for strings

    • @MaheshVollipimahesh
      @MaheshVollipimahesh 5 หลายเดือนก่อน

      Bro putchar and putch homes only single character so we Can Assigned to 'a' and puts holds entire character that you enter it means we Assigned to "a"

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

    Really amazing teaching. As commented by another friend before, "In the paid version, it's rare to find such a "Crystal clear" version of learning". Great service...

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

    Fallen in love with C Programming and Data Structures. Thank you so much mam🙂

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

    *THERE IS A DIFFERENCE BETWEEN putchar() AND putch()* - putchar() belongs to standard C library (stdio.h), but putch() belongs to POSIX library (conio.h). Putchar() can print any single character of C character set (including the 31 non-printable characters), but putch() can only print a single alphanumeric character. getch()/Conio.h is not supported by many C compilers like GCC, and is used by DOS/Windows based compilers to make use of the I/O console. That's why it's not supported by UNIX and Linux.

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

      What is the difference b/w c character set and all alphanumeric characters I think they are same

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

      @@choudhary.0402 no dear, both are not same. C character set also contains non-printable characters like tabs, whitespace, newline, etc and are not alphanumeric. There are 31 non-printable characters in the set.

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

      Thanks for the clarity. I've been wondering why i keep getting the error 'implicit declaration of getch()' whenever i try to use it even i though i included the conio.h file.

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

    NOTES:
    putchar()
    To print single character
    Syntax
    putchar(variable_name);
    putch()
    puts()
    It is used to print a string
    General syntax
    puts(variable_name);
    The special thing is→The new line function is built in

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

      bro putch() also for printing single character right?

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

    if we enter to print puts('a') it will try to print output but since puts is used for printing strings it shows an error as ( expected output if a char but the argument is of type int). to avoid this error we should use double quotes like puts("a") then it will print a

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

    not for others
    THERE IS A DIFFERENCE BETWEEN putchar() AND putch() - putchar() belongs to standard C library (stdio.h), but putch() belongs to POSIX library (conio.h). Putchar() can print any single character of C character set (including the 31 non-printable characters), but putch() can only print a single alphanumeric character. getch()/Conio.h is not supported by many C compilers like GCC, and is used by DOS/Windows based compilers to make use of the I/O console. That's why it's

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

    First view and comment best teacher in whole TH-cam for CS .

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

    Beauty with brain...Very dangerous combination..😍

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

    Formatted Input and output mean arranging or formatting according to our wish, whereas Unformatted input and output means cannot arrange according to our wish.
    When running gets('c'), we get an error because that is to be only mentioned for strings and not for a character.

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

    Puts('a') getting an error
    BCz it is single character constant
    And puts() is used only for string ......

  • @Harishchandra-ik2cs
    @Harishchandra-ik2cs 3 ปีที่แล้ว +3

    Ma'am you are awesome ,your teaching style are awesome ♥️❤️❤️♥️

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

    Mam please make a video series on solving previous year gate questions and expected questions of gate

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

    Thanks a lot mam for improving my coding skills

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

    How can we get the PDF notes of this series of c languages??

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

    11:23
    Formatted :In this we have to specify the data type of the output or input variable which we are using
    eg :printf("%c",a); where a is a char, scanf("%c",&a);
    Unformatted : In this we do not need to specify the data type of the output or input variable which we are using
    eg :putchar(a) where a is a char, a=getchar().

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

    The one and only girl behind my passing marks 😅 thanks a lott

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

    Watched and Understood ❤

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

    Formatted input we need to specifies the specific format of data type but in unformatted input don't need to specific format of data type

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

    Teaching style is awesome

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

    formated input means we can arrange the data in order like how we need the data to be seen while unformatted input means we can not arrange the data in a particular order.

  • @minimilitia6306
    @minimilitia6306 6 หลายเดือนก่อน

    You realy great teacher

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

    Formatted I/O functions mean we specify the format in which we want I/O. On the other hand, in unformatted I/O functions we can't specify the format we want for our input and output.

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

    1:19 in formatted I/O functions the data we input can be arranged in a specific format,by using format specifiers .but in case of unformatted I/O functions there is no any way to input data in a specific format

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

    Mam! Start videos on computer networks mam !! Much needed for students like us!!😑😑😑😑😶😶😶

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

    Out put of last question will be a error but if we would keep that a inside double quot then it will print a and the as always cursor will be in second line.

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

    Thank you Mam

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

    Miss, please add priority queue part in your data structure playlist. As soon as possible.

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

    In last question it will print ASCII value for a

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

    Thank you mam ❤

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

    Mam please make videos on python...

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

    when we will write :- 'a' in puts
    we will get error of converting int into const char *

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

    You are amazing 💕😘💕😘

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

    Thanks mam,

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

    Mam as you uploaded videos of graph and tree in ds. Which I understand very well but their algorithm is asked in our semester exams. Mam I have understood all the topics of trees and graph,but I am unable to understand how to write their algorithm, mam I requested to you please share the notes of algorithm. Mam our external exams is held in march,so mam please take action on it.

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

    good topic to learn

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

    your lectures are good,,, next time try to use a different ink and bigger font 😔,,, I can't see the programs clearly 🙆🙆

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

    Madam kindly teach binomial coefficients table program

  • @SHAZIASHAZIA-b7w
    @SHAZIASHAZIA-b7w ปีที่แล้ว

    by using putchar() can we print all the string by using array or not madam?

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

    Super

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

    Really amazing mam

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

    mam please complete the playlist of DAA please .
    mam please give me some reply

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

    🔥🔥🔥

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

    puts('a') => No output, seems to be a logical error

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

    The difference between formatted input and unformatted input:
    Formatted input contain format specifier, you can input base on your preference. Unlike for unformatted input, which does not contain format specifier, data cannot be inputted base on your preference.
    Ex: scanf("%d", sz); ................. formatted input
    gets(sz); ................................unformatted input
    The difference between formatted ouput and unformatted output:
    Formatted output contain format specifier, you can output base on your preference. Unlike for unformatted output, which does not contain format specifier, data cannot be displayed base on your preference.
    Ex: printf("Th sum is %d", sz); ..................formatted output
    puts(sz); ................................................unformatted output
    or you can write as puts("variable name"); .................when you want to display a specific string
    getchar( ) , getch ( ) takes one character. gets ( ) takes a string of characters
    putchar ( ) , putch ( ) display one character. puts ( ) displays a string of characters,
    for gets ( ) and puts ( ) , they are strings, and must have a size [ ]
    If I write puts ('a'), it will not display any data, because of the single quotes.
    Thanks very much mam. God bless

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

    Mam why do you smile at the time of explaining getch() function....????

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

    Maam are this lectures enough for gate exams?

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

    Formatted output is the one you can specify the output you want with a format specifier, unformatted is for char and string types only & output can not be specified.
    If you do puts('c'); you get an error/no output since it's a character and not a string, if you do puts("c") you get c. With single quotes it is a character, with double it is a string.

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

    if you put a in puts , segmentation fault is coming mam

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

    For last question it will print a

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

      No, it wouldn't print anything. It would print a if it's in " " double quotes but not for single.

  • @MindTech-Adult
    @MindTech-Adult 3 ปีที่แล้ว +1

    First view 😍😍

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

    Kya IT compony me kaam krne me thik rhta he as developer job pls tell..

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

    How can I display a number using putchar....and why does it work🙏🙏

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

    9.49 can we write it puts("character is... ") puts(ch) puts('
    ') is this write way?

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

    🥳

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

    put char in a loop

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

    Can you give idea to learn difficult theory concepts to us,please

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

    while printing output using putch() function it is showing as
    implicit declaration of function 'putch'; do you mean 'putc'?
    what is the error I have included conio. library also

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

      U shd put wt u hv to print into the () ex:putch(res);

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

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤

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

    I am first viewer

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

    Mam getch or putch kis header file m aate h ?

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

    'a' is not a string hence it can't work with puts(). "a" is a string

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

    💛❤️👍👍

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

    👍

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

    Mam how do u describe that putc defined in conio.h and so on how can we find out that mam

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

    What is the difference between putchar() ; and putch() ;

    • @gulkshyas.1041
      @gulkshyas.1041 3 ปีที่แล้ว

      Putch(); available on
      Putchar (); available on
      That is the only difference in it.

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

      @@gulkshyas.1041 Okay
      So, u mean they do the same work?
      Thankyou so much for your reply

  • @VishnuKumar-f5j8x
    @VishnuKumar-f5j8x 3 หลายเดือนก่อน

    Mam puts(ch): not compliering

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

    First view

  • @user-uu6xe5rx5m
    @user-uu6xe5rx5m 2 ปีที่แล้ว +1

    Mam your salary per month

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

    Mam pls make video.on functions also

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

    2nd comment
    No no 1st

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

    we will get a only

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

    clrscr() function is not working in my dev c++. Why? What can i do mm

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

      @prajwal khatokar thanks. Turbo hi sahi hai.

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

    Array per bhi video dalo Ma'am

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

    Jenny kya hai ye sab? Strassen ka video hai nahi channel pe batao. Mante hain k C k videos banane me busy ho. Lekin Strassen bura man jayega k nahi bolo? Germany se aa jayega gusse me idhar. Fir mat bolna maine bataya nahi.

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

    why putch when we have putchar?

  • @ktvx-indiangamercentral8969
    @ktvx-indiangamercentral8969 3 ปีที่แล้ว

    You put up weight

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

    Ma'am
    putchar('
    '); wasn't working..
    ...
    I tried
    char n= '
    ';
    putchar(n);

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

    Hello mam please upload notes of c language

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

    Hi mam

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

    unformatted.c:2:10: fatal error: conio.h: No such file or directory
    2 | #include why do i get this error Mam

    • @Chigo-nr8jg
      @Chigo-nr8jg ปีที่แล้ว

      THERE IS A DIFFERENCE BETWEEN putchar() AND putch() - putchar() belongs to standard C library (stdio.h), but putch() belongs to POSIX library (conio.h). Putchar() can print any single character of C character set (including the 31 non-printable characters), but putch() can only print a single alphanumeric character. getch()/Conio.h is not supported by many C compilers like GCC, and is used by DOS/Windows based compilers to make use of the I/O console. That's why it's not supported by UNIX and Linux.

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

    Why this not be downloaded???

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

    Hi mam I didn't understand unformated input fuctions

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

    notes kaha se likhe mam

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

    Please ma'am provide me notes all

  • @k.annpurnamma3357
    @k.annpurnamma3357 3 ปีที่แล้ว

    Mam i do like this,but i got error as 'undefined putch'
    #include
    #include
    void main( )
    {
    char ch;
    clrscr( );
    printf("press any key to continue");
    ch=getch( );
    printf("
    you pressed : ");
    putch(ch);
    }

  • @beast_motivation-v2l
    @beast_motivation-v2l 9 วันที่ผ่านมา

    Not undurstood

  • @asu253941simi
    @asu253941simi 3 หลายเดือนก่อน

    Tapasi Pannu.. You looks like Tapasi

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

    Formatted I/O functios write a correct syntax and unformatted I/O functions write a not correct syntax 😂

  • @Manishkumar-kp5gr
    @Manishkumar-kp5gr 2 ปีที่แล้ว

    Mam are you married?

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

    Well i just wanted to know how much is left and how long will it take to complete this course ...btw first comment

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

      it has just begun...a long way to go......She is teaching from a very basic level which is the most beautiful thing about her...she is superb.

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

      Hii

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

    vagrant@ubuntu-focal:~$ vi unformatted.c
    vagrant@ubuntu-focal:~$ gcc unformatted.c -o reformatted
    In file included from unformatted.c:2:
    /usr/include/conio.h:144:1: error: unknown type name ‘class’
    144 | class __CONIO_H{
    | ^~~~~
    /usr/include/conio.h:144:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
    144 | class __CONIO_H{
    | ^
    unformatted.c: In function ‘main’:
    unformatted.c:10:9: error: request for member ‘getch’ in something not a structure or union
    10 | getch();
    | ^~~~~

  • @SohanaSohana-v7x
    @SohanaSohana-v7x ปีที่แล้ว

    Thank you mam