C Programming (Important Questions Set 1)

  Рет қаралды 1,416,941

Neso Academy

Neso Academy

6 жыл бұрын

C Programming Lectures: goo.gl/7Eh2SS
C Programming & Data Structures: Important questions in C programming.
Topics discussed:
1. Important questions in C language.
Follow Neso Academy on Instagram: @nesoacademy(bit.ly/2XP63OE)
Follow me on Instagram: @jaspreetedu(bit.ly/2YX26E5)
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommende...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#CProgrammingByNeso #CProgramming #CProgrammingQuestions

Пікірлер: 463
@beaubreau
@beaubreau 4 жыл бұрын
That moment where I actually understand things :) brings tears to my eyes. Thank you. I am trying to prepare more before I graduate and these lessons are helping so much.
@ParthKawatra
@ParthKawatra 4 жыл бұрын
Hello Neso Academy, Could you please enable all English closed captioning for all of your C programming lectures? I would be grateful if you do that. Because I am deaf so I cannot hear your explanations. Thank you
@duffyduck4065
@duffyduck4065 3 жыл бұрын
You can do that on your KZbin app settings
@ParthKawatra
@ParthKawatra 3 жыл бұрын
@@duffyduck4065 Buddy, some videos in the playlist are not haviing option to enable captions. Nevermind, I already learned from mycodeschool.
@the_aggregate7048
@the_aggregate7048 3 жыл бұрын
@@ParthKawatra all the best parth
@jainsahab8549
@jainsahab8549 3 жыл бұрын
@@ParthKawatra bhai plz tell me which is best between ravindra babu rabula sir vs neso academy
@adhargupta3441
@adhargupta3441 3 жыл бұрын
@@jainsahab8549 neso academy as it has wide variety of questions and easy explaination as well❤️🤗
@user-cl3vv9vz8x
@user-cl3vv9vz8x 5 жыл бұрын
char = -128 ~ 127 unsigned char = 0 ~ 255 char a = 255 a(2) = 1111 1111 1111 1111 = -1 answer a + 10 = 9
@SaurabhKumar-qc6og
@SaurabhKumar-qc6og 3 жыл бұрын
I can't pay you back Neso Academy, but I assure you, once I get a job, I'll surely contribute to this channel. The way you are providing such a nice content for free of cost, it's just amazing!!!
@Reptorex
@Reptorex 10 ай бұрын
2 saal k baad bhi unemployed 🗿
@SaurabhKumar-qc6og
@SaurabhKumar-qc6og 10 ай бұрын
@@Reptorex college gye hote to pta hota C programming 1st year me padhate hai. Now calculate the basic maths 😂
@Reptorex
@Reptorex 10 ай бұрын
2 saal baad ye reply Dene aya payback toh krk ja neso ko 😂😂 Sorry Bhai meto Gaya nahi clg ese hi Matrix me kaam kr raha hu Abhi bhi unemployed h kya bro ?
@SaurabhKumar-qc6og
@SaurabhKumar-qc6og 10 ай бұрын
@@Reptorex referral hai?
@Reptorex
@Reptorex 10 ай бұрын
@@SaurabhKumar-qc6og off campus 🗿
@saniyamansuri9607
@saniyamansuri9607 3 жыл бұрын
This questions were just too helpful. Glad that I find your channel sir 😀
@nitinagrawal3184
@nitinagrawal3184 5 жыл бұрын
Finally You tube recommend something worth to watch.Thanks for the wonderful explanation.
@impulsiveDecider
@impulsiveDecider 2 жыл бұрын
I would strongly advise you to include to which standard you are adhering. After C99 using implicit integer will at least throw a compiler warning and depending on parameters will not even compile.
@nandannswamy4250
@nandannswamy4250 5 жыл бұрын
I never saw someone explains like this👏
@connorhorman
@connorhorman 5 жыл бұрын
In C, Q3 is not guaranteed to work if char is signed, as the result of the narrowing value conversion is either implementation-defined (as the signed-type representation is implementation-define). On compilers which define char as unsigned, it is guaranteed to work and print 9. And this all of course assumes that CHAR_BIT is 8. Just to make you aware that the results are by no means guaranteed by the standard. (if CHAR_BIT is say 16, then it prints 265), and if char is signed using sign-and-magnetude, it prints -117 (as 255 converts in that narrowing value conversion to -127, then -127+10=-117).
@sasishushma
@sasishushma 5 жыл бұрын
Yes..u r correct..the question should signed char c or unsigned char c to avoid any complier specific results..
@royarijit998
@royarijit998 5 жыл бұрын
255 in binary comes out to be 0b11111111, which comes out to be the same for the binary representation of -1 (0b11111111).. So, for signed representation, 'c' will have a value of -1.. Upon adding 10 to that, it assumes the value 9.. The other case of unsigned representation of the character 'c', has been explained in the video.. However, by default, upon declaration, the 'signed' modifier is chosen for the character..
@gogogalian
@gogogalian 5 жыл бұрын
@@royarijit998 C does not specify a default sign or integer encoding. The binary representation of -1 could be 0b10101010 for all you know. The default sign could be both signed or unsigned. It's even possible that char has 50 bits.
@java_shaileshkushwaha878
@java_shaileshkushwaha878 4 жыл бұрын
In Q3. In declaration statement Char c=255; U can not e specify modifier THEN compiler implicit assume by default it is signed Range would be -128 to 127 But u assign c=255; na This value is already out of range then compiler do cyclic process 255 is equivalent to - 1 Then finally c contain - 1 C=c+10; C= - 1 + 10 C=9; Out put is 9 ( in hole explanation we assume character take 1 byts= 8 bits Thank you neso academy
@connorhorman
@connorhorman 4 жыл бұрын
shailesh kushwaha This isn't guaranteed. This assumes a) The compiler defines signed integers as 2s compliment, b) the compiler has bitwise conversion for out-of-range singed integers Both of which are unspecified. Also, char on its own is a distinct type from signed char, and it is implementation defined if the type is signed or unsigned. (See en.cppreference.com/w/c/language/arithmetic_types for details). Further, this also depends on having 8-bit bytes (CHAR_BIT=8), which is not always true.
@abhijitroy1958
@abhijitroy1958 3 жыл бұрын
this is from the legendary category course on youtube , explaination on peek
@jupjyotkhosla4640
@jupjyotkhosla4640 2 жыл бұрын
Great variety of questions! Loving the content
@Vijay-uc5yd
@Vijay-uc5yd 5 жыл бұрын
Thank u so much sir actually i like tge way u were teaching it helped me a lot🙇
@julchni3189
@julchni3189 2 жыл бұрын
These videos are really helpful, I watch them with my friends on Voicely whenever we practice coding. We all agree that we learned more from KZbin videos than from school lol
@MdTausif1978
@MdTausif1978 6 жыл бұрын
Nice this is very good and really helpfull video sir , Thank you very much.
@saswatpradhan5549
@saswatpradhan5549 5 жыл бұрын
I am so lucky to have found your channel 😊
@oviya.n1317
@oviya.n1317 2 жыл бұрын
The 2s comp representation of a signed num is -3 = 101 only so when treated as a positive num it is 5 .
@Gamechanger..601
@Gamechanger..601 4 жыл бұрын
Sir i am preparing for gate 2020... ur videos whr in recommendation .. u hv no idea how good u are at teaching.... totally worth watching...
@anuragsuryawanshi4177
@anuragsuryawanshi4177 2 жыл бұрын
Hey wht you doing now
@rajaup4036
@rajaup4036 2 жыл бұрын
@@anuragsuryawanshi4177 chaprasi at vidya mandir school
@happyman6844
@happyman6844 2 жыл бұрын
@@rajaup4036 So rude tu lgja na chaprasi
@thalupulasridevi397
@thalupulasridevi397 3 жыл бұрын
A beautiful explanation Happy to listen in a simple manner
@nancysrivastava8942
@nancysrivastava8942 2 жыл бұрын
Thank you! I had a pending program since long time. Today i was just watching your video when a concept clicked in my mind because of a small concept which learned from your video. My program is completed,i am thankful.
@014-neerajajadhav3
@014-neerajajadhav3 2 жыл бұрын
Great effort sir....no words...for what u had made!!!!
@akankshasoni3479
@akankshasoni3479 4 жыл бұрын
Really great videos one can refer to these videos for certain competitive exam like gate too. Helped me a lot throughout. Thanks neso academy for such wonderful videos.
@vishalchauhan9832
@vishalchauhan9832 5 жыл бұрын
Thank you so much for this video. It is very helpful video 🙂
@vishakasaxena5019
@vishakasaxena5019 5 жыл бұрын
Really amazing.... Plz make more videos on this topic
@fatihkeskin9900
@fatihkeskin9900 5 жыл бұрын
This is so great. Pronunciation is better than every other Hindis
@pharshita782
@pharshita782 2 жыл бұрын
Happy to find your lecture which is very understandable and clear... Clear voice👍,,,,,thank you sir
@haowenwei3256
@haowenwei3256 4 жыл бұрын
So good... finally got something really useful
@campfiregames4633
@campfiregames4633 2 жыл бұрын
This is a really important video lecture, thank you very much Neso Academy.
@sadashivsabale139
@sadashivsabale139 5 жыл бұрын
Thank you do much sir it was very helpful for me
@shai_1907
@shai_1907 3 жыл бұрын
Too good for the c programming language.well done
@ctyxyxy8908
@ctyxyxy8908 2 жыл бұрын
I must say that this is best channel on youtube to learn programming
@nishathnishu4819
@nishathnishu4819 5 жыл бұрын
Thank u sirr.....I lyk the way of ur teching
@Sunil-pb7iw
@Sunil-pb7iw 5 жыл бұрын
Such an amazing lecture. Keep it up sir ☺
@darshanarane6355
@darshanarane6355 5 жыл бұрын
Thank you sir..
@leoneruri6857
@leoneruri6857 8 ай бұрын
let me be frank, I like your videos and i've learnt a lot from you. Many at times i've been excited and some depressed, like in this video, i thought i understood the concepts until you asked the tough question. In short, thank you for sharpening our experience
@jhonnyleash4541
@jhonnyleash4541 2 жыл бұрын
Thank you for this complete and well ordganized Course about C. Very good explained with funny indian accent ;). Long story short : AMAZING. Thanks for sharing.
@priyagarg6844
@priyagarg6844 5 жыл бұрын
Mind blowing
@vivekjayswal81
@vivekjayswal81 5 жыл бұрын
Sir thank you so much...really appreciate
@Kishor_haldar
@Kishor_haldar 2 жыл бұрын
Please slove this question.. write a program to compute the value of u for different values of x at distinct instances of time and plots the series of graphs on u vs plot.
@vishalik6351
@vishalik6351 5 жыл бұрын
Its veryy useful sir. Pls do more videos
@harshitha6160
@harshitha6160 5 жыл бұрын
Nice and useful video sir....thank you very much
@himanshubillorePeoplesoftHRMS
@himanshubillorePeoplesoftHRMS 2 жыл бұрын
in Q1, no need to write %s in the printf. Can just pass the string directly like printf("Hello\a ");
@mathankumar1408
@mathankumar1408 3 жыл бұрын
Thanking you sir I learn something new...
@goldie486
@goldie486 5 жыл бұрын
Nice lecture sir thanku
@vakhariyajay2224
@vakhariyajay2224 2 жыл бұрын
Thank you very much. You are a genius 👍👍🔝🔝
@MsOfficeLearning
@MsOfficeLearning 3 жыл бұрын
Thank your for your lesson!
@santoshabhinav5851
@santoshabhinav5851 3 жыл бұрын
awesome advanced questions on basics
@nam-ji-ah9375
@nam-ji-ah9375 2 жыл бұрын
You got a new.. keen curious learner (beginner)of C as subscriber today✌
@rupeshshete6162
@rupeshshete6162 4 жыл бұрын
6:50 IMP 265mod256=9 remainder
@rajendraprasad5322
@rajendraprasad5322 4 жыл бұрын
Wow Amazing , nice explanation sir
@hi-techminecraftgaming6385
@hi-techminecraftgaming6385 5 жыл бұрын
Thanks a lot sir😀
@astrix5018
@astrix5018 Жыл бұрын
thanks you so much for the video
@weichenus
@weichenus 2 жыл бұрын
Good work, I enjoy it.
@niteshmodi5468
@niteshmodi5468 3 жыл бұрын
Thanku Neso for this amazing explanation.
@muskan_ki_masti7507
@muskan_ki_masti7507 5 жыл бұрын
Thank you sir
@mohandmagdy2431
@mohandmagdy2431 Жыл бұрын
ربنا يباركلك يغالي
@shreedharchavan7033
@shreedharchavan7033 3 жыл бұрын
Awesome questions
@girishbhargava6367
@girishbhargava6367 3 жыл бұрын
great explanation sir, keep it up
@bharath_rbp
@bharath_rbp 3 жыл бұрын
Suggest from where i can find more questions like these (covering conceptual and hidden meaning of a syntax)
@rahulbansode1537
@rahulbansode1537 5 жыл бұрын
Thanks I learned something new!
@chiranjitdey1430
@chiranjitdey1430 3 жыл бұрын
This is great!
@saifpalash2498
@saifpalash2498 5 жыл бұрын
Thank you
@vikasbansal4180
@vikasbansal4180 2 жыл бұрын
Kya level question hain 🙌🙌
@mihirjain7903
@mihirjain7903 4 жыл бұрын
your teaching is awesome
@prabashwaragunarathne955
@prabashwaragunarathne955 2 жыл бұрын
Thank you🖤🤗
@RenukaVarma__28
@RenukaVarma__28 11 ай бұрын
thank you so much..i am preparing for ntpel exam..tis is very useful for me..tysm
@48_subhambanerjee22
@48_subhambanerjee22 2 жыл бұрын
woah so nice questions. i appreciate it
@MASadat-lz9yz
@MASadat-lz9yz 5 жыл бұрын
Thanks buddy!
@sid9145
@sid9145 Жыл бұрын
2:49 no one teach us this one...its very helpfull
@shivani6829
@shivani6829 4 жыл бұрын
Very nice and very useful thank you sir
@Dontever_throw_trash_out
@Dontever_throw_trash_out 5 жыл бұрын
nice lectures by you sir that too for free! appreciated your efforts.
@kanijoh5664
@kanijoh5664 5 жыл бұрын
Nice
@ankitalone8906
@ankitalone8906 3 жыл бұрын
Thank you sir🙏
@rkbestacademy7258
@rkbestacademy7258 2 жыл бұрын
have a great sir this topic is very helpful video sir. Thanks you so much sir
@ImranHossain-tr5rb
@ImranHossain-tr5rb 2 жыл бұрын
Thanks neso
@pranjitdas1467
@pranjitdas1467 5 жыл бұрын
App agar c programming sikhane lag gaye to case hi nehi hain... Many engineering graduate will be beneficial from thiz... With the help ur videos we passed the exam of digital logic, basic eletronics subject... Who ever you r... U r in the in the heart sir....
@pavankaranam7469
@pavankaranam7469 3 жыл бұрын
Superb explanation..👌🏻
@hamadaabdalla1803
@hamadaabdalla1803 5 жыл бұрын
what if we changed the specifier %d to other specifier.. will it be the same or it depends on the specifier?
@turan5058
@turan5058 2 жыл бұрын
Just Amazing....
@pachaiammadevi2871
@pachaiammadevi2871 3 жыл бұрын
Super explanation
@paulongpogi7157
@paulongpogi7157 2 жыл бұрын
Thank you for this 🙂
@true4189
@true4189 3 жыл бұрын
Thank u
@user-bu8mg7uq3s
@user-bu8mg7uq3s 3 жыл бұрын
thanks
@madhaviyalagam2158
@madhaviyalagam2158 5 жыл бұрын
Sir please upload more videos for 2019 gate sir .nice explanation sir
@phv7185
@phv7185 2 жыл бұрын
Hi sir, I would like to ask a doubt in qs no. 4. Is it okay to declare i; only instead of int i; ? Will the compiler implicitly assumes the datatype int to the statement?
@bikeshbhaila2114
@bikeshbhaila2114 4 жыл бұрын
Awesome Tutorial.....
@Jkt61205
@Jkt61205 3 жыл бұрын
sir your teaching is excellent😀😀; and sir please clarify my doubt,it would be very helpful😁.
@udayptp
@udayptp 3 жыл бұрын
Very informative video
@riannahenningham341
@riannahenningham341 2 жыл бұрын
sir, with question 3, when i tried working out the mod on my calculator i keep getting 10, does that mean that 10 are the number of characters and 9 is the answer due to starting with 0?
@saraswathi9461
@saraswathi9461 5 жыл бұрын
Nice video sir .
@ashokreddykarri1238
@ashokreddykarri1238 2 жыл бұрын
so DS/sometimes water controlled and damshello sirwell done your speech and thank you very much
@er.ramsirwithtech2008
@er.ramsirwithtech2008 Жыл бұрын
Thanky
@atkuriajaykumar3701
@atkuriajaykumar3701 5 жыл бұрын
thank you sir helping for my placement
@ankitraina4047
@ankitraina4047 3 жыл бұрын
Awesome!
@EffconTechnology
@EffconTechnology 5 жыл бұрын
anyone can learn c from here very useful concepts #EFFCON
@naurinsultana1166
@naurinsultana1166 4 жыл бұрын
U r always the best man
@Rahul-xm1vn
@Rahul-xm1vn 2 жыл бұрын
What is the meaning of
@shefatabassum5807
@shefatabassum5807 Жыл бұрын
Character is capable of holding the information upto 1byte only which is equal to 8bits (that means the max value it can hold is 255) Data types obey the law of arithmetic modulo 2 raised to the power n where n is equal to 8 in this case Here ans is 265 mod 2 raised to the power 8
@funwithcomedy5859
@funwithcomedy5859 4 жыл бұрын
Can you make a question, answer video of c++ programming exact this type sir
@accessdenied9393
@accessdenied9393 3 жыл бұрын
"signed i = value" equivalent to "int i = value", why? because when you write the signed modifier without any data-type after it, your compiler assume that i is either a variable of type int or it's a variable of type char, and that assumption depends on the value stored in i.
@impulsiveDecider
@impulsiveDecider 2 жыл бұрын
Depending on compiler and standard, this will probably either give you a warning or not compile at all (implicit type conversion is non standard since C 99)
@learncseasily3385
@learncseasily3385 3 жыл бұрын
Nice Questions
@aryanpatial650
@aryanpatial650 4 жыл бұрын
Sir in question number 3 maximum value of char should be 127 ?. I am confused sir
@pratibhaias3629
@pratibhaias3629 3 жыл бұрын
No! Char take 1 byte space having 8 bits ... and so the max range will be 255 ...
@bharath_rbp
@bharath_rbp 3 жыл бұрын
Char occupies 1 byte of memory and there is no point of signed and unsigned, since the binary representation will be same for both. Look into video 9
C Programming (Important Questions Set 2)
6:10
Neso Academy
Рет қаралды 525 М.
Special Programs in C − Pyramid of Stars
11:06
Neso Academy
Рет қаралды 854 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 69 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 38 МЛН
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 13 МЛН
Scope of Variables - Local vs Global
11:12
Neso Academy
Рет қаралды 394 М.
Call By Value & Call By Reference in C
8:34
Neso Academy
Рет қаралды 1,3 МЛН
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,1 МЛН
Pointers (Important Questions)
11:11
Neso Academy
Рет қаралды 335 М.
C++ arrays explained 🚗
5:29
Bro Code
Рет қаралды 11 М.
What is a Compiler?
13:48
Neso Academy
Рет қаралды 133 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 69 МЛН