#4: Get User Input in C Programming

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

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

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

    🔥Finding it Damn Hard to Understand C Programming?
    Learn to code-the right way-with interactive lessons, quizzes & challenges. Build a strong programming base; it's IMPORTANT!
    Try Programiz PRO for Free: bit.ly/master-c-programming

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

      OPTION C

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

      for printf, %f and %lf are both used for double, but this is a scanf function, so only %lf is used for doublem %f is for float, therefore I agree with the other comment, option c

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

    the answer is option c. scanf("%lf", &input);

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

    Programiz has been my go to channel for learning C programming. You guys never fail to give amazing tutorials. Thank you team programiz!!! Very grateful 👍👍😄😄

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

      What are you doing now

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

      @@mahi8862 he's hacking most popular banks games, govrement etc

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

    Just started learning programming for the first time and so far, so good. About the last quiz on the tutorial, double input is represented by %lf, hence the correct answer is ("%lf", &input);

  • @annettewairimu5542
    @annettewairimu5542 6 หลายเดือนก่อน +3

    option C is the correct answer. option A is for the int data type input, option B is for the float data type input, and option D is for the char data type input. Great content, amazing explanation.

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

    Answer to the question asked in the end of the video will be option C.

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

      I agree 100%d

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

      But it is double input, the format specifier for double is %lf, so why do you go to %f? That's format specifier for float.

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

      @@LyricsVibe95 In scanf and related functions, %f is used for float and %lf is used for double

  • @Darkness-898
    @Darkness-898 4 หลายเดือนก่อน +4

    CODE TO ENTER INTEGER AND FLOAT VALUE AND SHOW OUTPUT:
    #include
    int main() {
    int number;
    float number1;
    printf("Enter input values: ");
    scanf("%d %f", &number, &number1);
    printf("Number = %d", number);
    printf("
    Float = %f", number1);
    return 0;
    }
    ANSWER TO THE QUIZ QUESTION:
    Option C: scanf("%lf", &input)

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

    Great tutorial. The correct way to take a double input is of answer C: scanf("%lf", &input); Thanks.

  • @kmaboreke0
    @kmaboreke0 ปีที่แล้ว +13

    These lessons are excellent for beginners. Keep up the good work!

  • @hm...4517
    @hm...4517 2 ปีที่แล้ว +16

    Its been a while I've been subscribed to this channel and my skills as a C developer has grown rapidly. Thank you for this series !!!

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

    WAP to take integer and foat input from the user.
    #include
    int main(){
    int number1;
    float number2;
    printf("Enter the input values: ");
    scanf("%d %f", &number1, &number2);
    printf("IntNum= %d,
    FloatNum= %f",number1,number2);
    //printf("
    FloatNum= %f",number2);//

    return 0;
    }
    Outpur:
    number1: 20
    number2: 20.35

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

    #include
    int main(void)
    {
    int quantity;
    float price;
    printf("Enter quantity and price of products:
    ");
    scanf("%d %f", &quantity, &price);
    printf("Quantity: %d, Price: %.2f
    ", quantity, price);
    }
    Multiple choice answer: C

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

    Nice studio setup! Very professional looking and awesome content. to the point and informative.

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

    the course is simplified and the face facilitating is encouraging to watch all the series at once lol

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

    @Programiz is my best experience with C

  • @AESTHETICMUSIC-en4wx
    @AESTHETICMUSIC-en4wx ปีที่แล้ว +2

    #include
    int main()
    {
    float number;
    printf("Enter the values: ");
    scanf("%f" , &number);
    printf("number: %f" , number);
    return 0;
    }

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

    #include
    int main(){
    int number;
    float decimal;
    printf("Enter an integer and float number with spaces: ");
    scanf("%d %f", &number, &decimal);
    printf(" Your integer = %d", integer);
    printf("
    Your decimal = %f, decimal);
    return0;
    }

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

      You re wrong bro, it should be:
      #include
      int main() {
      int number;
      float decimal;
      printf("Enter an integer and float number with spaces: ");
      scanf("%d %f", &number, &decimal);
      printf(" Your integer = %d", number);
      printf("
      Your decimal = %.2f", decimal);
      return 0;
      }

    • @ymsd
      @ymsd 11 หลายเดือนก่อน +6

      @@saadtalemsi5906 i think in one year he'd understand by now💀

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

    I enjoy your lessons very much and are very helpful 👍👍👍❤❤

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

    I'm enjoying these lessons so easy to understand

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

    /* Program to take integer and float input from the user */
    #include
    int main() {
    int value1;
    float value2 ;
    printf("
    Enter the values : ");
    scanf("%d" "%f",&value1,&value2);
    printf("
    The integer value entered is : " "%d",value1);
    printf("
    The float value entered is : " "%f",value2);
    return 0;
    }

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

      👍

    • @mr.sowhat3796
      @mr.sowhat3796 2 ปีที่แล้ว

      thanks this helped alot! I said %lf instead of %f thank you so much!

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

      Why u both use %d & % f ?

    • @mr.sowhat3796
      @mr.sowhat3796 2 ปีที่แล้ว

      @@madhusmitamahapatra5181 im sorry were you talking to me?

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

      @@madhusmitamahapatra5181 %d for int value and %f for float value

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

    Thank you so much for the simplicity of your lessons

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

    Very informative! 👍👍

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

    *I found this online and I don't know if it is mentioned in later chapters but it's very important so: (about reading char variables using scanf)*
    "Quite often I see the following problem in people’s code ( as a matter of fact, aliens don’t do that mistake :p ), when trying to input a character again and again with scanf. Usually, this happens inside a loop, but let’s see a sample code without a loop that exposes the problem."
    int main()
    {
    char c;

    printf("Input No.1
    ");
    scanf("%c", &c);
    printf("c = %c
    ", c);

    printf("Input No.2
    ");
    scanf("%c", &c);
    printf("c = %c
    ", c);

    printf("Input No.3
    ");
    scanf("%c", &c);
    printf("c = %c
    ", c);

    return 0;
    }
    "which gives output:"
    Input No.1
    s
    c = s
    Input No.2
    c =

    Input No.3
    a
    c = a
    "As you see, the input No.2 was skipped. Well not really, not at all. But the intention of the programmer is usually to get three characters from the user, which is what is happening, isn’t? Let me explain. *Think what you do, when you input. First prompt message arrives, you type s and then what? You hit enter! Enter is a character!*
    *As a result, first scanf will read the s. Second scanf will read the enter! That’s why, the second printf of the value of c leaves just a newline after “c=”. Then the third scanf waits for a key press. You input a and then you hit enter. a is been assigned to variable c and enter remains in the stdin buffer, ready to be read by the next scanf. If we had a fourth scanf, then it would read the enter.*
    However, many would think now that, “Wait a minute… I do this while reading numbers, with %d for example and I had no problem”. Correct! Why? Because %d automatically eats whitespaces and special characters. Logical, isn’t it? Whitespaces and special characters are characters, not numbers! However, %c has to interpret whitespaces and special characters as inputs, because %c reads characters 😉 . Luckily enough, the “fix to scanf to do what you intend it to do” is to leave a space before %c. That way you say to scanf to automatically eat whitespaces and special characters, like enter! So, just change scanf(“%c”, &c); to scanf(” %c”, &c); and you will be just fine. See by yourself in the code below:"
    int main(void)
    {
    char c;
    /* FIX: Leave a space before %c */

    printf("Input No.1
    ");
    scanf("%c", &c);
    printf("c = %c
    ", c);

    printf("Input No.2
    ");
    scanf(" %c", &c);
    printf("c = %c
    ", c);

    printf("Input No.3
    ");
    scanf(" %c", &c);
    printf("c = %c
    ", c);

    return 0;
    }
    "which outputs, what you expect:"
    Input No.1
    s
    c = s
    Input No.2
    a
    c = a
    Input No.3
    m
    c = m
    "Notice that in the first scanf, there is no need for a space before %c, since it’s the first input function, thus there is no trailing newline to eat, as discussed in the comments section below my post."

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

      But I did they same way but yet that no2 is being skipped

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

    Thanks for your giving us a good guide contents.
    The answer of you question is option C.
    scanf("%lf", &input);

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

    the best tutorial i have found about c language👌

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

    Thank you for the content. it's very interesting and helpful. enjoy it very much.

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

    Thank you so much for the video @Programiz

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

    Keep doing all languages in same way.. thanks a lot madam 😍🥰🥰

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

    Thanks

  • @AdityaGupta-hz9sn
    @AdityaGupta-hz9sn หลายเดือนก่อน

    Hello Padma, Love the Programming Guide!!
    Just wanted to ask, during the double input you didn't add "
    " and still it printed "Enter character :" in next line, please explain why ?

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

    as a first year student c programming looks so cool....don't know how long will this feeling will go on.................

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

    Very well simplified its easy to understand

  • @YaaKonadu-e9r
    @YaaKonadu-e9r 7 หลายเดือนก่อน

    okay so i understand what you have explained so far and i decided to try it on my own, instead of double input and alphabet, i tried using name and age but i keep getting error though i used the same format

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

    i am loving this journey of learning so informative videos:)

  • @rptalks.9868
    @rptalks.9868 2 ปีที่แล้ว +1

    Expecting more and more content/vedios from you............

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

    great
    easy to understand

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

    Good. Waiting for the next session. 😇

  • @GameTech-h7z
    @GameTech-h7z 2 หลายเดือนก่อน

    #include
    int main() {
    float integer;
    double decimal;
    printf("Enter a Number and a decimal: ");
    scanf("%f %lf", &integer, &decimal);
    printf("Your integer is = %.0f
    ", integer);
    printf("Your decimal is = %.2lf", decimal);
    return 0;
    }

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

    My solution to question at the end of this video. Thank you.
    //enters integer and float input from the user. Display responses how you wish.
    #include
    int main(){
    int number;
    float number1;
    printf("please enter values here: ");
    scanf("%d %f", &number, &number1);
    printf("the values you entered here are %d and %.2f", number, number1);
    return 0;
    }

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

    include
    int main() {

    int number;
    printf("Enter input integer: ");
    scanf("%d", &number);
    printf("Number: %d", number);
    return 0;
    }

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

    #include
    int main() {
    float number;
    int number1;
    printf("Enter input values: ");
    scanf("%f %d", &number, &number1);
    printf("Float: %.3f", number);
    printf("
    Integer: %d", number1);
    return 0;
    }

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

    Thank you , this is great! more please.

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

    It's been awesome 😎 so far.. thanks programming crue

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

    Your explanation was to good mam 👍

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

    Great 👍

  • @abhijeetverma-xk5eq
    @abhijeetverma-xk5eq ปีที่แล้ว +1

    #include
    int main()
    {
    int number;
    float number2;
    printf("Enter the number: ");
    scanf("%d",&number);
    printf("Enter the number: ");
    scanf("%f",&number2);
    printf("Number 1 is : %d
    ",number);
    printf("Number 2 is : %0.1f",number2);

    return 0;
    }

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

    The answer to the quiz is C.... Thank you ma 🙇🏾‍♂️

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

    quick and sweet. I like this tutorial a lot.

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

    6:40
    // Online C compiler to run C program online
    #include
    int main(){
    int number;
    float decimal;
    printf("Please enter integer and decimal values separated by strings: ");
    scanf("%d %f", &number, &decimal);
    printf("
    Integer: %d", number);
    printf("
    Decimal: %f", decimal);
    return 0;
    }

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

    Can you help me i am using eclipse
    When i type the first program the two printf line in a same line in console just like
    enter input value age = 22 the out put is just like this can you help how to solve 2:41

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

    #define _CRT_SECURE_NO_WARNINGS
    #include
    int main() {
    float age;
    char firstletter;
    printf("Enter your age and the firstletter of your name:");
    scanf("%f%c", &age, &firstletter);
    printf("Age:%f",age);
    printf("
    firstletter;%c", firstletter);
    return 0;
    }
    this was my program and it worked 🥳all thanks to you guys!

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

    Thank you so much!

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

    hi programiz
    I am doing well by your channel. I am not able to find character value, when i was running the prroggrram what the reason may it be .

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

    /*
    Program to take an integer and a float number from user. And to display them.
    */
    #include
    int main() {
    int number1;
    float number2;
    //Taking input from user.
    printf("Enter an INTEGER and FLOAT number:
    ");
    scanf("%d %f", &number1, &number2);
    //Printing the output.
    printf("
    Number 1 (INTEGER) = %d", number1);
    printf("
    Number 2 (FLOAT) = %f", number2);
    return 0;
    }

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

    the answer is C.
    thank you for your tutorial.

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

    PROGRAM TO TAKE INTEGER AND FLOAT INPUT FROM USER
    #include
    int main () {
    int number;
    float number 1;
    printf (“Enter input values:”);
    scanf (“%d %f”, &number, &number1);
    Printf (“Integer =%d”, number);
    Printf (“Float =%f”, number1);
    return 0;
    }
    End of class quiz:
    I picked option C.
    Pls correct me 🙇🏽

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

    Very simplified course seen so far.

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

    Thank you this was useful for beginner!

  • @Dev-u3j
    @Dev-u3j ปีที่แล้ว

    very clear and nice tutorial
    thank you🤗🤗🤗🤗

  • @HarpreetSingh-jd3tu
    @HarpreetSingh-jd3tu ปีที่แล้ว

    liking this course, thanks

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

    Answer C is the correct way to take double input where the scanf function is being used to take the variable from the user "%lf" and the format specifier is lf and the line of code reads as follows: scanf("%lf", &input);

  • @Ech-chatouiMohammed
    @Ech-chatouiMohammed 19 วันที่ผ่านมา

    MUCHA GRACIAS

  • @sir.derpy6555
    @sir.derpy6555 ปีที่แล้ว

    #include
    int main() {
    int Number1;
    float Number2;
    printf("Input a number: ");
    scanf("%d", &Number1);
    printf("Enter a number: ");
    scanf("
    %f", &Number2);
    printf("Number1 is: %d", Number1);
    printf("
    Number2 is: %.2f", Number2);
    return 0;
    }
    And the quiz answer is C

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

    is it not possible to write a full word on char...?
    must it always have to be a letter...?

  • @Project.i
    @Project.i 6 หลายเดือนก่อน

    //program to take integer and float input from the user
    #include
    int main() {
    int number;
    float Fnumber;
    printf("Enter the values: ");
    scanf("%d %f", &number, &Fnumber);

    printf("number: %d", number);
    printf("
    Fnumber: %f", Fnumber);
    return 0;
    }

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

    #include
    int main() {
    int number;
    float anotherpoint;
    printf("write: ");
    scanf("%d %f", &number, &anotherpoint);
    printf("Number: %d", number);
    printf("
    NewDecimal: %f", anotherpoint);
    return 0;
    }
    mine
    I cant thank you less for this important lesson

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

      thanks it helped me finding the mistake in mine

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

      @@stellicpiano you are welcome mate

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

    Super Explaintaion and good visual's

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

    Finally waiting is over 👍👍👍

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

    Why we put scanf("
    %c", &...)
    with this and not with printf ("enter the character value")

  • @ar725eeen
    @ar725eeen 7 หลายเดือนก่อน

    Code for integer and float input:
    int age;
    float test;
    printf("enter new value:");
    scanf("%d %f" , &age , &test );
    printf(" new age: %d", age);
    printf("new test: %f", test);

    • @ar725eeen
      @ar725eeen 7 หลายเดือนก่อน

      Somebody please check the correctness of this code.
      Will be appreciated 👍🏻

  • @Good-Morning-Media
    @Good-Morning-Media 8 วันที่ผ่านมา

    Thanks!

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

    The answer is option C 😊 bcoz we use %lf as format specifier for double data type

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

    i like it when i have something to learn i love it i will able to continue watch u until my eyes inlove with u your so beatiful and awesome.

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

    it'll be option c right?

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

    As usual, awesome and great.

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

    in love with your content!!

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

    %lf is the format specifier of double input data type.

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

    c.😁. thanks to my good teacher!

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

    Great Video

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

    hi guys i'm new and this was my solution
    #include
    int main () {
    int number;
    float number1;
    printf("Enter integer input: ");
    scanf("%d", &number);
    printf("Enter float input: ");
    scanf("
    %f", &number1);
    printf("Integer = %d", number);
    printf("
    Floating Number = %f", number1);
    return 0;
    }
    and
    #include
    int main() {
    int number;
    float number1;
    printf("Enter input values: ");
    scanf("%d %f", &number, &number1);
    printf("Integer = %d", number);
    printf("
    Floating Number = %f", number1);
    return 0;
    }

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

    thank you for such beneficial content

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

    // Online C compiler to run C program online
    #include
    int main() {
    int number;
    float value;
    printf("Enter integer value:");
    scanf("%d", &number);
    printf("Enter float value:");
    scanf("
    %f", &value);
    printf("%d", number);
    printf("
    %.2f", value);
    return 0;
    }

  • @alexandreramalho9637
    @alexandreramalho9637 7 หลายเดือนก่อน

    great one! as always!

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

    //Program to input number and float number and display it on screen
    # include
    int main()
    {
    int number;
    float float_number;
    printf("Input the values
    ");
    scanf("%d %f, number , float_number);
    printf("Number = %d and Float number = %f", number, float_number);
    return 0;
    }

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

    I enjoy your course

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

    C is correct option

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

    How do i use the scanf function that will assign it's result for many value?
    For instance, input the result for name, age and gmail, then return the inpuutted values.

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

    pls can anybody help explain this code line after line.
    #include "main.h"
    2
    3 /**
    4 * _strcat - concatenate two strings
    5 * @dest: the string to append to
    6 * @src: the string to append
    7 *
    8 * Description: This function appends the string pointed to by src to the
    9 * string pointed to by dest, overwriting the null byte at the end of dest.
    10 *
    11 * Return: a pointer to the destination string dest
    12 */
    13 char *_strcat(char *dest, char *src)
    14 {
    15 char *dest_end = dest;
    16 int src_len = 0;
    17
    18 while (*dest_end)
    19 ++dest_end;
    20
    21 while (src[src_len])
    22 ++src_len;
    23
    24 if (src + src_len < dest || dest_end + src_len < src)
    25 {
    26 do {
    27 *dest_end++ = *src++;
    28 } while (src_len--);
    29 }
    30
    31 return (dest);
    32 }

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

    Really Helpful

  • @issabello.
    @issabello. ปีที่แล้ว

    The choice number C . is the correct way to take doublen input isn’t it ?

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

    answer is c
    love your content 😀

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

    Ur just amazing madam.. very useful to us😍

  • @ΚωνσταντίνοςΛαζαρίδης-ξ9ι

    same as my university beginners course.👌

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

    very good video

  • @Itsalis-77
    @Itsalis-77 4 หลายเดือนก่อน

    (c) is the correct in given options.

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

    thank you you helped me alot in my school exam

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

    My answer to the quiz is option c

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

    why i am getting this output for this programme
    #include
    int main(){
    int Number= 5;
    float value= 10.9;
    char Character= 'G';
    printf("%d ,number=15");
    printf("%f, value=10.9");
    printf("%c, character=G");
    return 0;
    }
    output:
    5
    5.990000
    D
    anything did wrong this programme

  • @rptalks.9868
    @rptalks.9868 2 ปีที่แล้ว +1

    Yeah ..! It's too good for a basic Lerner who already have should have some basics on C 😅😅

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

    I want you as my professor omgggg 🥺🥺