#2: C Variables and Print Output | C Programming for Beginners

  Рет қаралды 429,027

Programiz

Programiz

Күн бұрын

Step by step video tutorials to learn C Programming for absolute beginners!
In this video, we will learn about variables. More specifically, we will learn how to create variables and store data in them so that we can use them later in our program. Finally, we will learn to give good variable names so that our code is easier to understand.
~
Run C Online: www.programiz.com/c-programmi...
Programs in this video: github.com/programiz/c-youtub...
C Variables (text-based tutorial): www.programiz.com/c-programmi...
Watch our videos and revise them with our C App!
Download here for Android: bit.ly/3upaInx
Download here for iOS: apple.co/3EZLtNq
Timestamps:
0:00 Start
2:00 Printf() function
3:54 Change value of variables
5:27 Assign variable to another variable
6:55 Declaring Multiple variables at Once
7:54 Variable Naming Conventions
Find Programiz elsewhere:
Facebook: / programiz
Instagram: / _programiz
LinkedIn: / prog. .
Website: www.programiz.com
#C #cprogramming #learnprogramming #programiz #variables #learnc

Пікірлер: 1 000
@programizstudios
@programizstudios 2 жыл бұрын
🔥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
@manikiranbellapu6307
@manikiranbellapu6307 Жыл бұрын
3333
@jedojr
@jedojr Жыл бұрын
33
@aboutouruniverse3834
@aboutouruniverse3834 Жыл бұрын
33
@prasadjonnala9509
@prasadjonnala9509 Жыл бұрын
33 33
@manmadhabesingi-fv4xy
@manmadhabesingi-fv4xy Жыл бұрын
3333
@kimsolaofc
@kimsolaofc 2 жыл бұрын
I’m loving your videos. Very well explained and not too much information at once
@shrirajthakare274
@shrirajthakare274 2 жыл бұрын
i started with ur python playlist which built my python foundations and i became very good at it and when i started learning c,i knew where to look for and i was right!,programiz never dissappoints,quality content as always
@tech_manuel5903
@tech_manuel5903 Жыл бұрын
Excellent video. The answer is C, 33 33. This is because the space after the type specifier in the first printf function is considered as a string so it will also be rendered in the output before the second printf function.
@Eng-Ara_2023
@Eng-Ara_2023 Жыл бұрын
you are right, I wrote the code and found it the same as you did
@zainebhidoussi1498
@zainebhidoussi1498 Жыл бұрын
nah the answer is B 3333 that's because she didn't put space before the "%d"
@zainebhidoussi1498
@zainebhidoussi1498 Жыл бұрын
@@Eng-Ara_2023 how the heck did you find it 33 33 instead of 3333 ? ..me and my friend both of us found it answer B
@eager_beaver
@eager_beaver Жыл бұрын
​@@zainebhidoussi1498 u are wrong honey , I agree with him ,the right answer is 33 33
@mxy_bxy
@mxy_bxy Жыл бұрын
@@zainebhidoussi1498 look closely in the first line of printf... there is some space left so the answer is c
@escapist818
@escapist818 6 ай бұрын
I was a programmer in my early life but transitioned to hairdressing about 20 years ago, now I've been feeling the programming itch again. This is such a great basic reminder of all the basics I have forgotten! Thanks!
@abhishekchauhan5776
@abhishekchauhan5776 2 жыл бұрын
I'm a mechanical engineer and wants to learn c programming and also wants to improve my english vocab as well, So this is the best channel for that thing .Your content is really appreciatable and we want more videos like this. Thanks a lot to you for doing such type of hard work.
@abocwsg2328
@abocwsg2328 Жыл бұрын
Good luck :)
@mahamattahirabakar9211
@mahamattahirabakar9211 Жыл бұрын
The course is clear and adorable . I understood more than what I was taught in class. Thank you so much for sharing your knowledge.
@srutiranjanbehera7394
@srutiranjanbehera7394 2 жыл бұрын
to be honest i found this video late but i dont regret it cause i might find the best place to learn for as beginner to learn the c programming language,keep up the good work we are seriously looking forward to it
@gloriaduncan1108
@gloriaduncan1108 Жыл бұрын
I love how your videos are short and precise. Easy for one to understand and engage. Thanks for making it free.
@shivukumarghali5001
@shivukumarghali5001 Жыл бұрын
Hi
@shivaish4355
@shivaish4355 2 жыл бұрын
as a beginner i know how much useful your vedios are❤️
@Shadoweee
@Shadoweee 2 жыл бұрын
How can You have so little views? Your website is awesome! Straight to the point and everything is nicely explained - same goes for the video!
@gnr2257
@gnr2257 Жыл бұрын
Were starting with C programming rn thank you for your videos. Truly understandable ♥️.
@ghanwatmansi
@ghanwatmansi Жыл бұрын
This course is too good. I highly recommend you all. She have explained it in very simple language.
@josephdaka4825
@josephdaka4825 Жыл бұрын
I really love your content. You are the best instructor. So petient and one concept at a time💕
@sowmyanancheri6780
@sowmyanancheri6780 2 жыл бұрын
i can't describe how useful it is.
@taylorjones7988
@taylorjones7988 Жыл бұрын
Your video was the only one that explained it well enough to where I could apply the work given! Thanks!
@badmusmuhammed9735
@badmusmuhammed9735 Жыл бұрын
Thank you for this, I'm new to tech and I've been having problems with C but I guess I've found solutions to my problem with your channel. Keep up the good work.
@hannamichel7713
@hannamichel7713 Жыл бұрын
I am a student majoring in Analytical Finance and I currently have an exam in programming in a couple of days. The playlist is great, and you explain everything, and wish you as my professor. Keep up the great work and keep doing what you're doing because you're a lifesaver.
@quacker8230
@quacker8230 Жыл бұрын
how did the exam go?
@hannamichel7713
@hannamichel7713 Жыл бұрын
​@@quacker8230 Thanks for asking; it could have gone great, but my professor had added a confusing question (which didn't even make sense when you read it). The funny thing (but sad at the same time) is that the whole class failed the exam.
@diannanicolec.torres2841
@diannanicolec.torres2841 Жыл бұрын
I am a Computer Science freshman and have absolutely no clue what to do. Ma'am, you and your team save me from flunking. Thank you so much!
@musikoeddy7071
@musikoeddy7071 9 ай бұрын
same to me here am computer engineering freshman but also had no clue on what to do. Thnx to this madam
@technopop5781
@technopop5781 9 ай бұрын
Same , I just got enrolled and since I had a premed back ground I wanted to yk learn somethings before the classes begain
@chideraemmanuel7902
@chideraemmanuel7902 4 ай бұрын
me right now🤣
@calebowatah5775
@calebowatah5775 2 жыл бұрын
Just started C programming today.... I'm loving this tutorial..🥰
@kagemara277
@kagemara277 7 ай бұрын
thank you for your content, its super clear and intlligently constructed the way you cover assigning values and also kinda including pointers within. Great content and I love it as a complete beginner.
@paumata9226
@paumata9226 2 жыл бұрын
c) 33 33 #include int main() { printf("Great video"); return 0; }
@BLAAAAAST
@BLAAAAAST Ай бұрын
actually b), as there is no space put on the %d (it would be more like 'printf("%d", number 1); printf(" %d", number 1);')
@muralimohanmudduluru1803
@muralimohanmudduluru1803 29 күн бұрын
Yes the answer is b.. there is no syntax of spacing( /t )
@replicaman9215
@replicaman9215 Жыл бұрын
Thanks. Very informative and straightforward so far, with reasonable video durations. Refreshing, thank you.
@cdpalmo
@cdpalmo Жыл бұрын
this is the easiest and the best basics course for beginners, thank you so much for this
@nuradillahahmadhurairahjuh2292
@nuradillahahmadhurairahjuh2292 2 жыл бұрын
Can you make a video about c programming from A to Z ... Clarify the name of variables, data types, output and input, commands, comment, single line and multiline, main function, keywords and constants, operater and precedence, increment and decrementand operators , format output with printf, formatting input with scanf, precision definition, modulos, and escape sequence and tell how and when to use all of its... Please 🥺... Thank you ☺️
@movingheels6593
@movingheels6593 Жыл бұрын
It will be C as no next line comments are mentioned but there is space after "%d " for first input so the output will look much like 33 33 without any declaration
@oluseyedaramola3939
@oluseyedaramola3939 Жыл бұрын
Thank you so much for your quality content. I just started learning C programming and I understand better with your videos. Keep it up
@redeemmbonge
@redeemmbonge 8 ай бұрын
I'm an Informatics student and C programming is one our courses, this tutorial really helps a lot👏
@heygodwine
@heygodwine Жыл бұрын
The answer is B. 3333. Reason is since there's no in the second print function, the second printed data will be on the same line with the first. Hence 3333. As a new Computer Science student, I'm just starting out in C-Programming and I find this course immensely helpful. Thank you so so much for making this course. God bless you. Edit: So, I just discovered my answer was wrong. Oh well 😄, it's all part of learning. The right answer is C. 33 33. The space after the placeholder %d made all the difference.
@jean.m.onyuro3764
@jean.m.onyuro3764 Жыл бұрын
The answer is c. Your channel is straight to the point and quite informative
@alexandrosmakridakis8516
@alexandrosmakridakis8516 Жыл бұрын
my favorite video collection as a begginer in shoftware developing!!!
@jordanjackson6151
@jordanjackson6151 2 ай бұрын
Using Visual Studio Code to find the answer at the end of the vid: 33 33. Awesome teaching! I'd been learning backwards using Lua JavaScript and Python. But now I realize why I should've learned this first. It's like putting modern 'Progressive Rock' before the classics of 'Yes' or 'King Crimson'....somebody might understand that. Anyhow. Your teaching is amazing Padma.
@suraiyarahman2471
@suraiyarahman2471 2 жыл бұрын
The answer is C. And the class was awesome and simple. Keep making this type of contents more.
@wintagevault
@wintagevault 2 жыл бұрын
It's B
@suraiyarahman2471
@suraiyarahman2471 2 жыл бұрын
@@wintagevault for the first printf there is a space after %d.So it 33 33
@wintagevault
@wintagevault 2 жыл бұрын
@@suraiyarahman2471 👍
@proggenius2024
@proggenius2024 2 жыл бұрын
Your tutorials are just dope! Keep it up. My guess of the quiz question is C 33 33👍
@SimplicityND
@SimplicityND Жыл бұрын
Thank you for this wonderful free course... It's quite clear and practical
@ayodejiaderinwale
@ayodejiaderinwale Жыл бұрын
U made this c programming simple. Thanks to u and ur team for the great work u are doing.
@darkscreenambienceforsleep3627
@darkscreenambienceforsleep3627 2 жыл бұрын
Awesome content! I enrolled in a introduction to CompSci course and the lecture was so fast I couldn’t complete the assignment confidently. For the question asked in the end, the output should be B. 3333 because you have not printed a new line
@wirbainouahadjaratou530
@wirbainouahadjaratou530 Жыл бұрын
This is very interesting and practical. The output here will be 33 33
@ludypalacios7239
@ludypalacios7239 10 ай бұрын
I just started your C Playlist, and you're amazing 👏 ✨️ 💕
@victorabuor6384
@victorabuor6384 Жыл бұрын
This channel has been very helpful in my introduction to c.
@sukanyamukherjee5475
@sukanyamukherjee5475 2 жыл бұрын
The answer will be 33 33 , option (C)
@laitonkamanga7679
@laitonkamanga7679 2 жыл бұрын
great simplification of complex concepts, short, brief and easy to understand and my guess through calculation is B, 3333
@mohanadmoumen7478
@mohanadmoumen7478 2 жыл бұрын
it is c 33 33 because there is a space after the first %d
@Vikal1629
@Vikal1629 2 жыл бұрын
@@mohanadmoumen7478 yes bro
@Clog17
@Clog17 Ай бұрын
if its c the code would be like this #include int main() { int number1= 33; printf("%d", number1); printf("%3d", number1); return 0; }
@carloswillian90
@carloswillian90 Жыл бұрын
Best Chanel to learn c so far. Thanks!
@emmanoel7683
@emmanoel7683 Жыл бұрын
Your explanations make it easy to grasp!
@Abi658
@Abi658 2 жыл бұрын
The output is option B
@SYANGTAN07
@SYANGTAN07 2 жыл бұрын
3333 is the output of this program
@myrionyx
@myrionyx Жыл бұрын
It’s actually C because there is a space after the first %d and that will provide the space between the two 33’s
@hnejeromeallison7190
@hnejeromeallison7190 Жыл бұрын
Thanks for your content, I am starting with C and I see these videos helpful.
@astro6248
@astro6248 11 ай бұрын
this is the best course i found in youtube for beginners
@anommaharjan3005
@anommaharjan3005 2 жыл бұрын
I was eagerly waiting for this video. Its a totally new topic for me and I found this video very well explained. Keep up the good work! 😁😁
@samuelsam4696
@samuelsam4696 2 жыл бұрын
Superb
@josepharulvinnarasi6845
@josepharulvinnarasi6845 2 жыл бұрын
Yeah
@leelakanthi4137
@leelakanthi4137 2 жыл бұрын
Option 2 is 3333 because we print two times the integer, but we don't use
@sparkiev.9827
@sparkiev.9827 Жыл бұрын
I'm sorry but you are wrong and I'll show you why. If you notice after the first %d there is a space. ex. "%d ". The correct answer is C. 33 33.
@juanmanuelmoctezuma8491
@juanmanuelmoctezuma8491 Жыл бұрын
Hello Padma, you are amazing, I just discovered this channel, well-explained tutorials, thank you!!! Greetings from Mexico !
@josepharulvinnarasi6845
@josepharulvinnarasi6845 2 жыл бұрын
As a beginner I learnt much in this video thank for your service
@nikolapehar7362
@nikolapehar7362 2 жыл бұрын
33 33 😀
@mrithunjoyk_k
@mrithunjoyk_k 20 күн бұрын
Yes
@rdsrds3145
@rdsrds3145 2 жыл бұрын
My guess of the quiz question is 3333
@iseoluwadoyinemmanuel
@iseoluwadoyinemmanuel 2 жыл бұрын
you are a great teacher, thank you. you are making C interesting.
@henryokolie
@henryokolie Жыл бұрын
This is so nice. Just so much in love with your teaching pattern. Thanks so much🙏
@theshenoob
@theshenoob Жыл бұрын
just started c. the answer is 33 33. the language used is simple and the explanation is excellent for newbies. thank you
@bruceleroyalty
@bruceleroyalty 9 ай бұрын
Excellent video that breaks down the nuances
@kega4062
@kega4062 Ай бұрын
These videos are amazing! I’m learning so much, thank you!!
@wilsonomonz299
@wilsonomonz299 Жыл бұрын
She's just so amazing. I love her teaching 👍👍👍
@Tej.143_8
@Tej.143_8 2 жыл бұрын
thanks for doing this c programming series, this was very much useful for Diploma completed students also
@christgrace942
@christgrace942 Жыл бұрын
Im new in this and i have to admit that you are so good...the approach is very helpful. thanks alot💐💐💐💐💐
@saikumarnalla4553
@saikumarnalla4553 2 жыл бұрын
This is so useful for my career... Superb explanation... I wanna thanks to your channel.. ❤️
@nihatdonmzov4166
@nihatdonmzov4166 Жыл бұрын
Great video as always. Thank you very much!!
@emmanuelpopoola1557
@emmanuelpopoola1557 Жыл бұрын
interesting! I love the tutor, she explains really well.
@souhaillaghmir6942
@souhaillaghmir6942 2 жыл бұрын
thank you for your courses they are very good for beginners to understand
@maheshikamadhuwanthi4003
@maheshikamadhuwanthi4003 3 ай бұрын
Excellent vedio.Simple English.Thank you.
@angweteryila1532
@angweteryila1532 Жыл бұрын
you sound not just that but you are perfect C teacher i respect you for that
@joshstevenson6991
@joshstevenson6991 2 ай бұрын
great beginner level course, slowly building a program from the ground up helps me understand it a lot better. any chance of some theorie videos to C programming?
@basharumar2912
@basharumar2912 Жыл бұрын
A very well structured tutorial, thank you programmiz
@sophiadawngrutas7306
@sophiadawngrutas7306 5 ай бұрын
dude this is so helpful i'm starting to love programming
@uchechukwuemmanuel-1713
@uchechukwuemmanuel-1713 Жыл бұрын
This is my first interaction with programming, and this is very interesting
@alinadangol9313
@alinadangol9313 2 жыл бұрын
Bang on. Nice presentation. Helpful for beginners.
@user-lt8vu6lu7o
@user-lt8vu6lu7o Жыл бұрын
This is very helpful for beginners. Thank you.
@user-bz6jn3yr3r
@user-bz6jn3yr3r 8 ай бұрын
The answer is 3333, thanks for this lessons they are really so helpful and u have a very nice and easy way of explaining it. You make coding seem pretty easy.
@ikechukwualexandercharles4714
@ikechukwualexandercharles4714 Жыл бұрын
One of the best Vids I've seen so far!
@moritisilikula8538
@moritisilikula8538 Жыл бұрын
Thanks... I am a beginner and this is most helpful ...
@arjundas7078
@arjundas7078 Жыл бұрын
I'm a computer science student from Bangladesh. I am trying to learn c programming. Thank you for these free videos. God bless you. Initially i thought answer will be B then i realized it will be C.
@magnoliy08
@magnoliy08 2 жыл бұрын
Great tutorial. Figured might learn one of the olds first. Also the answer is b since they are no things in printf
@imtiazux
@imtiazux 11 ай бұрын
Thank you so much for making the basics so easy for us, The output of the last program is = 33 33
@foreground2060
@foreground2060 14 күн бұрын
C programming made easy! I like it.
@itsmakena9550
@itsmakena9550 Жыл бұрын
You are so eloquent, thank you
@refilweramahlo8532
@refilweramahlo8532 Жыл бұрын
thank you im learning new skills im going to do programming next year
@michaelbob937
@michaelbob937 2 ай бұрын
Fire lessons. loving them so far
@mathuveena6613
@mathuveena6613 2 жыл бұрын
Nice and clear explanation..So keep sharing videos please.
@kingvineethreddy8568
@kingvineethreddy8568 7 ай бұрын
it is a very good support to me better to understand the c programme very easily .
@denggarangalaak6904
@denggarangalaak6904 Жыл бұрын
thank for your generous work. it really helps
@baswarajpatil8437
@baswarajpatil8437 2 жыл бұрын
Thank you mam for all videos c programing 🙏🙏
@successtoluwani6640
@successtoluwani6640 11 ай бұрын
Really enjoying the series
@vaidehiparashar7202
@vaidehiparashar7202 8 ай бұрын
really helping....thankyou so much for bringing up such informative videos
@rokokingdom7818
@rokokingdom7818 2 жыл бұрын
Ty you guys are very cool! Lots of support!
@loreleimaglines6428
@loreleimaglines6428 Жыл бұрын
Very well explained, thank youuuuu ❤
@poweronmultitech2705
@poweronmultitech2705 2 жыл бұрын
I just love your presentation
@leornadiajose3376
@leornadiajose3376 9 ай бұрын
Thank you so much for this free content.
@doreamonnobita6846
@doreamonnobita6846 Жыл бұрын
Ofcoure these videos are so so helpfull thakyou for maiking these type of contents
@kristinajoshi3995
@kristinajoshi3995 2 жыл бұрын
it is explained really well.
@nnennajohn9743
@nnennajohn9743 Жыл бұрын
Also, amazing content. Thank you!❤️
@santhoshg8983
@santhoshg8983 Ай бұрын
I'm a beginnerto programming. By seeing your second video, I feel that I can learn programming .
@CYBER_LABBING-pr8tf
@CYBER_LABBING-pr8tf 28 күн бұрын
Muy buena serie en c, muchas gracias..
@meTimetraveler
@meTimetraveler Жыл бұрын
very concise and complete
#3: Data Types in C Programming | C Programming for Beginners
10:12
#23 C Pointers | C Programming For Beginners
11:01
Programiz
Рет қаралды 123 М.
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 28 МЛН
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,1 МЛН
#15  C Functions | C Programming for Beginners
17:21
Programiz
Рет қаралды 194 М.
Python Decorators in 15 Minutes
15:14
Kite
Рет қаралды 428 М.
Coding Basics: Variables | Programming for Beginners |
4:45
Transcode
Рет қаралды 136 М.
#19 C Arrays | C Programming For Beginners
13:27
Programiz
Рет қаралды 226 М.
How I taught myself to code
19:15
Josh Almodovar
Рет қаралды 17 М.
String In Char Array VS. Pointer To String Literal | C Programming Tutorial
9:58
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 28 МЛН