C language mcq | multiple choice question in C| C programming tutorial

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 81

  • @vijayjohiya5463
    @vijayjohiya5463 4 роки тому

    Super duper awesome 😎 sir ji ....thank you so much sir ji 🙏🏻🙏🏻🙏🏻

  • @koyalkoyal8136
    @koyalkoyal8136 4 роки тому +1

    Questions to thik h or samjh bhi aaya
    Par ek or bat sir
    Aapki aavaj bhut achchi h

  • @anilbaghel4119
    @anilbaghel4119 5 років тому

    Bahut accche

  • @NeetuSri123
    @NeetuSri123 4 роки тому

    V comprehensible video sir

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 8 virtual memory is generally used to increase the apparant size of physical memory

  • @mansipatel9695
    @mansipatel9695 5 років тому

    Thanks
    Very useful video

  • @abdullahjan3634
    @abdullahjan3634 5 років тому

    gr8 job bro....keep it up......ur way of teaching fantastic .....u elaborate very nice each mcs.....good bless u......try to other chapters ...............my best wishes with you bro

  • @VDhanush
    @VDhanush 5 років тому

    So easy

  • @rajusahani8340
    @rajusahani8340 5 років тому +1

    Sir new class start kariye o level k kiye c language ki January 2020 exam k liye ..Plzz sir.apki class bahut achi lagti hai ap bahut ache se samjhate hai

  • @prajktakurhade7951
    @prajktakurhade7951 3 роки тому

    For file manipulation in c 'stdio.h' header file is used

  • @muskansoni161
    @muskansoni161 4 роки тому +4

    Sir PlZZ PDF provide kijiye na it will help me in exam 🙏🙏🙏🙏

  • @diamondoldgane4968
    @diamondoldgane4968 5 років тому +1

    Sir aise hi Aur mcq c, c++ dono ka upload kriye

  • @heerbera9651
    @heerbera9651 5 років тому

    Sir or bhi vedio banavo bahut badiya tha

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 13 assembler converts the program written in assembly language into machine instructions

  • @schoollife1284
    @schoollife1284 4 роки тому

    Super

  • @diamondoldgane4968
    @diamondoldgane4968 5 років тому

    Ur video is very helpful

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 3 printf("
    ") written in the program to get new line on the screen

  • @all_gaming9682
    @all_gaming9682 4 роки тому +1

    10-(c)10,16
    First print the value of x then increment the value of x.

  • @pitaji249
    @pitaji249 4 роки тому

    Thnx Sir

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 1 Keyboard is the input type of device

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 2 The storage of a character variable is one byte

  • @chandanvlog1302
    @chandanvlog1302 4 роки тому

    sir short questin one model banaye

  • @parthpatel-lr9kx
    @parthpatel-lr9kx 6 років тому

    Sir universal gate se ex-or and ex-nor kese banaye
    Ex-or gate me kitne nand gate use hote he sir?

  • @chandreshmaurya821
    @chandreshmaurya821 4 роки тому +1

    Sir question no 10 ka answer 10,16 a raha hai in c compiler

    • @programmingfunda5788
      @programmingfunda5788  4 роки тому

      Don't worry. It depends on compiler. C language standard isn't uniformly implemented by compiler designers as far as expression evaluation is concerned. Don't worry.

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 7 the format string to accept a string is %s

  • @NeetuSri123
    @NeetuSri123 4 роки тому

    Can explain me d que round off valve

    • @programmingfunda5788
      @programmingfunda5788  4 роки тому +1

      Round off means to convert to integer from flot. Eg. 3.65 is float.
      int(3.65) will remove .65 and only keep 3. So to convert a float to integer or round off , you must write ( int) ( float number)

    • @duggirambabu7792
      @duggirambabu7792 3 роки тому

      *(int) (3.2) = 3*
      Here (int) is called typecasting.
      This converts to integer.
      *(int)(3.5) = 3*
      *(int)(3.8) = 3*
      *Round off (float) to integer means take near integer value.*
      Ex: Round off (3.2) to integer = 3 and
      Round off (3.8) to integer = 4.
      Formula:
      *Round of (x) to integer = (int) (x + 0.5)*
      *where x is float.*
      *Round off (3.2) to integer* = (int) (3.2 + 0.5)
      = (int) (3.8) *= 3*
      *Round off (3.5) to integer* = (int) (3.5 + 0.5)
      = (int) (4.0) *= 4*
      *Round off (3.8) to integer* = (int) (3.8 + 0.5)
      = (int) (4.3) *= 4*

    • @duggirambabu7792
      @duggirambabu7792 3 роки тому

      @@programmingfunda5788
      *float to integer* and *round off (float) to integer* both are different.
      *float to integer:*
      (int) (3.2) = 3
      (int) (3.8) = 3
      *round off (float) to integer:*
      round off (3.2) = 3
      round off (3.8) = 4

    • @duggirambabu7792
      @duggirambabu7792 3 роки тому

      *(int) (3.2) = 3*
      Here (int) is called typecasting.
      This converts to integer.
      *(int)(3.5) = 3*
      *(int)(3.8) = 3*
      *Round off (float) to integer means take near integer value.*
      Ex: Round off (3.2) to integer = 3 and
      Round off (3.8) to integer = 4.
      Formula:
      *Round of (x) to integer = (int) (x + 0.5)*
      *where x is float.*
      *Round off (3.2) to integer* = (int) (3.2 + 0.5)
      = (int) (3.8) *= 3*
      *Round off (3.5) to integer* = (int) (3.5 + 0.5)
      = (int) (4.0) *= 4*
      *Round off (3.8) to integer* = (int) (3.8 + 0.5)
      = (int) (4.3) *= 4*

  • @sayanmaity4498
    @sayanmaity4498 5 років тому

    4 no. Question ka order kya hoga?

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 6(b) condition

  • @sasmitabehera9521
    @sasmitabehera9521 4 роки тому

    Sir kaise hoga stream. h, C me to stdio. h header file use hota hai, plz ans me

    • @programmingfunda5788
      @programmingfunda5788  4 роки тому

      It depends what functions you are using. Stdio.h only give you basic functions like printf. For strings you need another header file. For File operations, you need another file.

  • @dilshadali1221
    @dilshadali1221 5 років тому

    sir question no. 10 ko jab turboo c++ se run karte he to x=11, y=16 aata he aur jab Dev c++ se run karte he to 10 aur 16 aata he sir ek hi question ke do different answer kaise ho sakte hain please help me immediately.

    • @programmingfunda5788
      @programmingfunda5788  4 роки тому

      Nice question Dilshad. The difference is that Dev C++ uses the MINGW compiler, where Turbo C++ uses Borland's compiler. Both compilers are designed in different way. You can't guarantee their behavior will be same for complex expressions. Use parentheses ( ) for extra care to force it to evaluate the way you want compiler to do.

  • @ayushbutala492
    @ayushbutala492 6 років тому

    Function control loop means ?

  • @kapilberwal9041
    @kapilberwal9041 5 років тому

    Sir 10 que
    Ans b 10,16
    x=x++ Means x ki value 10 print hone k baad increment hogi

    • @programmingfunda5788
      @programmingfunda5788  5 років тому

      X=x++ ya fir x=x++ dono ka result same hi aayega. Dono hi case me x ki value increment hogi. Par agar app y=x++ likhte hai to y me x ki original value jaayegi fir x ki value increment hogi. Y=++x likhte hai to y me x ki value increment ho ke jaayegi.

    • @kapilberwal9041
      @kapilberwal9041 5 років тому

      @@programmingfunda5788 dear x=x++
      Me first Jo x ki value hai wo print hogi... Baad me increment hoga...
      In case x=++x
      Me first increment then print value of x....
      Eg..
      x=1
      x=x++
      Print value of x 1 then increment
      x=++x
      Print value of x 2

    • @programmingfunda5788
      @programmingfunda5788  5 років тому

      Ask question again. Print to tum ne kiya hi nahi. Sirf assign kiya hai, yani ki value store ki hai.
      X= x++; ya fir x=++x; dono case me x ki value 1 increment hogi. Agar print krte ho directly ya kisi variable y ki dete ho to difference dikhega.
      Fir example,
      Int x=1;
      Y=x++;
      Printf(" %d %d, x,y );
      Y=++x;
      Printf(" %d %d, x,y );
      Try this.

    • @programmingfunda5788
      @programmingfunda5788  4 роки тому

      @@kapilberwal9041 No. There is light error.
      Eg1 :
      x=1
      x=x++
      (x is incremented here. So after this line x will print 2.)
      Eg2 :
      x=1
      y=x++
      (First y =x will happen, y will print 1, then x will increment, so x will print 2)
      Eg3:
      x=1
      x=++x
      (x is incremented here. So after this line x will print 2.)
      Eg4:
      x=1
      y=++x
      ( (First ++x will happen, then given to y, so y will print 2 and x willalso print 2)
      Eg5:
      x=1
      ++x (ya fir x++, its same when there is no left side)
      (x is incremented here. So after this line x will print 2)
      Hope this helps.

    • @duggirambabu7792
      @duggirambabu7792 3 роки тому

      @@programmingfunda5788
      x never increment if x = x++.

  • @heerbera9651
    @heerbera9651 5 років тому

    Sir jo last quetion tha small program ese hi vedio banavo

  • @kajalsarawgi3457
    @kajalsarawgi3457 5 років тому +3

    watch with 1.5 speed.

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 11 array index start at 0

  • @dixisanon4485
    @dixisanon4485 4 роки тому

    10. b answer hoga

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 15(c) 8 bytes

  • @poojatiwari3319
    @poojatiwari3319 5 років тому

    6.condition

  • @duggirambabu7792
    @duggirambabu7792 3 роки тому

    *Ans:* 10, 16
    x = 10;
    y = 15;
    x = x++;
    y = ++y;
    Result: *x = 10, y = 16*
    x = 10;
    y = 15:
    a = x++;
    b = ++y;
    Result: *x = 11 , y = 16* , a = 10, b = 16.
    *Note:*
    *x never change if x = x ++.*
    *x will change if a = x ++.*

    • @programmingfunda5788
      @programmingfunda5788  2 роки тому

      The answer depends on which compiler you use. Sometimes. Don't go in too detail in post and pre. Use ( ) instead.

  • @laxmipal556
    @laxmipal556 5 років тому

    Last question me 1 kyu print krega k ki to koi value di nhi hai

    • @santoshrbtx
      @santoshrbtx 4 роки тому

      for loop me k ka value 1 diya geya he

  • @suhanikumari2059
    @suhanikumari2059 3 роки тому

    answer 12 (a)dot

  •  5 років тому

    Hey

  • @poojatiwari3319
    @poojatiwari3319 5 років тому

    7.d

  • @poojatiwari3319
    @poojatiwari3319 5 років тому

    3.a

  • @poojatiwari3319
    @poojatiwari3319 5 років тому

    11.c

  • @poonamnaagar5915
    @poonamnaagar5915 5 років тому +1

    Question 10 answer is B 10,16

  • @akashsarkar2972
    @akashsarkar2972 3 роки тому

    Answer of questions 10 is wrong

    • @programmingfunda5788
      @programmingfunda5788  3 роки тому

      Surprise : It depends on what compiler you're running. Its not Java. Hence not universal results. Specially on operators.

  • @doro2023
    @doro2023 5 років тому +1

    Question number 10 is having wrong answer the correct ans is optipon B

  • @poojatiwari3319
    @poojatiwari3319 5 років тому

    4.a