#6: C Operators | C Programming for Beginners

  Рет қаралды 154,811

Programiz

Programiz

Күн бұрын

Step by step video tutorials to learn C Programming for absolute beginners!
Watch this video to find out all about C operators. You will learn about arithmetic operators, like addition, division, increment, decrement, and also about the assignment operators.
~
Run C Online: www.programiz.com/c-programmi...
Programs in this video: github.com/programiz/c-youtub...
C Tutorial (text-based tutorial):
www.programiz.com/c-programmi...
www.programiz.com/article/inc...
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
00:51 Arithmetic Operators
01:14 Addition Operator
05:06 Division Operator
07:08 Remainder Operator
08:00 Increment and Decrement Operator
09:37 Multiple Operators
11:34 Quiz
Find Programiz elsewhere:
Facebook: / programiz
Instagram: / _programiz
LinkedIn: / programiz
Website: www.programiz.com
Twitter: / programiz
#learncprogramming #programiz #operatorsinc #cprogramming #basics #programming #arithmetic #operators #prefix #postfix #assignmentoperator

Пікірлер: 371
@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
@cloudproblemssolved
@cloudproblemssolved 5 ай бұрын
answer is A. 18, because for int x = (5 + 2) * (9 / 3) - 3; we operate the two pairs of values since they are held to be parentheses, then we subtract the results by -3 7 * 3 - 3 --> 21 - 3 --> =18
@blamasumo9723
@blamasumo9723 11 ай бұрын
The answer is 8. Thanks for your lessons, they are really great.
@soumadeepdas7610
@soumadeepdas7610 2 жыл бұрын
I love the way you are teaching C language. #include #include void main() { printf("Thanks to Padma Mam"); getch(); }
@djsymphani2
@djsymphani2 Жыл бұрын
@@DELALTCTRL its required for getch()
@calebdamilola4464
@calebdamilola4464 Жыл бұрын
Love the way you teach. I now understand things that seemed difficult in class.
@Lolz_amv
@Lolz_amv 2 жыл бұрын
Love the way you teach , i am improving my C programming skills , Thankyou
@seflame7274
@seflame7274 Жыл бұрын
What is the value of x in the following code? Int x = 5 + 2 * 9 / 3 - 3; Answer: C (8) And I have practically solved it In programm Thank you Mam for this tutorial 🙏🏻
@brianrikoyian3808
@brianrikoyian3808 Жыл бұрын
correct
@user-lf2lq1fy1z
@user-lf2lq1fy1z Жыл бұрын
Is this plus or minus
@pristinewalek4578
@pristinewalek4578 2 жыл бұрын
Love the way you teach , i am improving my C programming skills , Thankyou 👍
@banjioloyede8901
@banjioloyede8901 5 ай бұрын
8
@icelamone1500
@icelamone1500 Жыл бұрын
keep making such videos because they're very helpful... THANKS😍
@collinshagembe7852
@collinshagembe7852 Жыл бұрын
#include int main() { int x = 5 + 2* 9 / 3 - 3; printf("x = %d", x); return 0; } The output was 8. first time programming , Thanks alot to the tutor, I like your teaching approach. I hope by the end of the tutorials, I will be a master in C Programming.
@adrian-laurentiuradulescu4703
@adrian-laurentiuradulescu4703 5 ай бұрын
to better learn programming you have to write these programs on paper and make the calculations in your head, in other words your mind should be the compiler, trust me, it helps
@eshankaushal27
@eshankaushal27 8 ай бұрын
The mathematics here follows the BODMAS rule that I learned way back in school almost 15 years ago. The answer is C. (8) as BODMAS follows 'division', followed by 'multiplication' , then comes division followed by 'add' and then 'subtract'. I am new to coding and your videos are really helpful. Thank you so much for these videos.
@chad5520
@chad5520 Жыл бұрын
Thank you these videos are very helpful for beginners in this language.
@ahmedhani5585
@ahmedhani5585 2 жыл бұрын
Can you upload more videos of C please , we need harder things like arrays , pointers & data structures please
@0_oSniperVipero_0
@0_oSniperVipero_0 Жыл бұрын
Yeah, exactly, because they are the main parts of any C programming language to get more hands-on expertise than basic ones like data types, variables, etc. So please upload more content on examples related to arrays, pointers, structs, enumerations and unions.
@shobithppoojarypoojary
@shobithppoojarypoojary Жыл бұрын
👍
@Lamya_1
@Lamya_1 2 жыл бұрын
Was waiting for it ❤️ thanks
@bipulchandramondol3930
@bipulchandramondol3930 2 жыл бұрын
teaching style is so so beautiful and thank you so much
@rayCee_
@rayCee_ 6 ай бұрын
I really love this lessons they make my confidence in C as I study software engineering
@mnaresh3382
@mnaresh3382 Жыл бұрын
parenthesis "()" is not only used to make our code look better, it also has the higest precidence over other arithmetic operator, so for eg : The result of the expression 4 / 2 + 2 * 3 + 1 is 9: however 4 / (2 + 2) * 3 + 1, this now results in 4
@cloudproblemssolved
@cloudproblemssolved 5 ай бұрын
I like this comment because you seem mathematically-minded to details like this, similar to myself
@nihatdonmzov4166
@nihatdonmzov4166 Жыл бұрын
Great video, thank you so much!
@renatzkigab2616
@renatzkigab2616 6 ай бұрын
Wow this is very clear and concise syntax explaination coming from an Indian Programmer. Hope there would also a C++ tutorials as well. Good works Miz!
@rohitattri21
@rohitattri21 2 жыл бұрын
Nice video thanks ma'am really appreciate your work ☺️☺️☺️✅✅✅✅✅
@abolarinjohn7672
@abolarinjohn7672 Жыл бұрын
Answer is 8. Rule of precedence aka Bodmas (bracket, of, division, multiplication, addition, subtraction)
@sahalyoosuf
@sahalyoosuf Жыл бұрын
thanks bro
@vishalkhoje6921
@vishalkhoje6921 2 жыл бұрын
u r the good teacher 👍🙏
@janeezeokoye-es2qx
@janeezeokoye-es2qx Жыл бұрын
I appreciate your efforts thank you 😊
@eclipseishere
@eclipseishere Жыл бұрын
Thank you for all your help.
@razzroy2393
@razzroy2393 2 жыл бұрын
I was waiting for u mam❤️ 😅 thank u so much ❣️ looking so pretty 😌❣️😅
@williamowusu7778
@williamowusu7778 Жыл бұрын
8 is the answer . Thanks for your time and energy
@ndikevinetawe8751
@ndikevinetawe8751 3 ай бұрын
Thank You for this videos they are really helpful 🙏🏽🙏🏽🙏🏽🙏🏽
@seabasschukwu6988
@seabasschukwu6988 Жыл бұрын
thank you so much for everything!!!
@UjjawalKumar-0
@UjjawalKumar-0 2 жыл бұрын
Whenever you say "Comma", it's awesome 😅🥰
@qarikhalidwaheed1643
@qarikhalidwaheed1643 11 ай бұрын
I've tried using multiplication "*" #include #include #include int main() { double x = 12.57; int y = 8; double result = x * y; printf("%.2lf", result); return 0; } 😀😀
@brandonnunez9566
@brandonnunez9566 2 ай бұрын
Hi, I like this channel and the way I learning with it, the answer its c. 8
@praizsylvan5537
@praizsylvan5537 Жыл бұрын
The answer is 8. love your teaching skill
@krishna_status_videos
@krishna_status_videos Жыл бұрын
Thanks you so much ma'am i seen more videos about it other chennal but I didn't get anything anything 😢😢 but when I seen your video about opretor then i got it 🙂🙂🖥️🖥️ Make video like this mam ✊✊💪💪
@rohitattri21
@rohitattri21 2 жыл бұрын
8 is answer if you dont apply brackets in this eqution if you apply brackets then answer is 18
@normzynormzy6364
@normzynormzy6364 2 жыл бұрын
maybe coz you applied the brackets wrongly try....int x = 5+(2*9/3)-3;
@user-uw4pn1nj4c
@user-uw4pn1nj4c 9 ай бұрын
Love your videosss😄😄😄
@atharavjadhav9624
@atharavjadhav9624 2 жыл бұрын
Content is fabulous ofcourse. But the thing i like about Programiz is that they have such a wide array of examples on their website. Also the lady's accent is very interesting. Her imperfections add that unknowing French accent... loved it !!!
@normzynormzy6364
@normzynormzy6364 2 жыл бұрын
maybe coz you applied the brackets wrongly try....int x = 5+(2*9/3)-3;
@normzynormzy6364
@normzynormzy6364 2 жыл бұрын
sorry...wrong recipient😆
@hty6884
@hty6884 Жыл бұрын
she cant say zero she says jero
@abdinasirismacil9951
@abdinasirismacil9951 9 ай бұрын
Thanks for your help
@mateoasempa7363
@mateoasempa7363 Жыл бұрын
Thanks for this video
@mahir17gamer28
@mahir17gamer28 Жыл бұрын
the program of multplication is as follows: #include int main(){ int x = 10; int result = x*5; printf("%d", result); return 0; }
@SakuraKazz
@SakuraKazz 2 жыл бұрын
thank you so much
@davidsulaberidze5978
@davidsulaberidze5978 2 жыл бұрын
Thank you very much
@markthomas9181
@markthomas9181 2 жыл бұрын
Well structured
@__Roronoa_Zoro_19
@__Roronoa_Zoro_19 Ай бұрын
The answer is option C. Thank you for teaching C.
@dileepcheekala2617
@dileepcheekala2617 2 жыл бұрын
Nice explanation 👐
@Azusha2023
@Azusha2023 6 ай бұрын
You are very interesting. I like it's to me effective learning.
@alirezaz9896
@alirezaz9896 Жыл бұрын
you are so kind 👌👌
@user-qp7jv6cp2t
@user-qp7jv6cp2t 2 ай бұрын
The answer is option c (8). Thank you so much. (:
@ayushkirar1663
@ayushkirar1663 Жыл бұрын
#include int main() { double x=56.78; double result = x*65.65; printf("%.21lf", result); return 0; }
@mdsahil2203
@mdsahil2203 2 жыл бұрын
Answer is 8 Awesome tutorials
@amans1282
@amans1282 Ай бұрын
The answer Is 8. thank you!
@cloudproblemssolved
@cloudproblemssolved 5 ай бұрын
answer is A. 18, because for int x = (5 + 2) * (9 / 3) - 3; we operate the two pairs of values since they are held to be parentheses, then we subtract the results by -3 7 * 3 - 3 --> 21 - 3 --> =18
@BBCSSamithRGowda
@BBCSSamithRGowda 3 ай бұрын
yes 18 is correct answer
@kene583
@kene583 Жыл бұрын
Beautiful
@kisaakyekimberly8158
@kisaakyekimberly8158 Ай бұрын
Nice thnx
@mdsahil2203
@mdsahil2203 2 жыл бұрын
Hey why r u not uploading more tutorials 😭😭😭 Plzz upload plzzzz I like the way you teach ❤️
@emmanuels.k.dekpah
@emmanuels.k.dekpah 2 ай бұрын
I love your videos and the correct answer is 8
@denisliyosi1992
@denisliyosi1992 Жыл бұрын
nice job
@countrysideshowyaigrock4689
@countrysideshowyaigrock4689 Жыл бұрын
amazing
@dharmikchauhan272
@dharmikchauhan272 Жыл бұрын
Previous videos with 🎤 were great with it's sound
@reilly-ej5yw
@reilly-ej5yw 4 ай бұрын
It is very interesting that by specifying one decimal place when dividing by a double, the value after the decimal point is rounded Qiz: C
@king_of_the_pirates238
@king_of_the_pirates238 Жыл бұрын
#include int main() { double x= 12.2; double y = 8.0; double result = x + y ; printf("Result : %.2lf ", result); return 0; }
@nenastemis9580
@nenastemis9580 Жыл бұрын
The way you pronounce zero is so funny
@JeanRegis-gp2vi
@JeanRegis-gp2vi Ай бұрын
great
@tapendra_shahi
@tapendra_shahi 3 ай бұрын
From Nepal❤❤❤
@ivanaaisa8589
@ivanaaisa8589 10 ай бұрын
//Just a simple code to calculate de area of a circle xd int main(void) { double pi = 3.14; double circleRadio; printf (" Escribe el valor del radio del circulo:"); scanf ("%lf", &circleRadio); double areaCircle = pi * circleRadio * circleRadio; printf (" Esta es el area del Circulo: %.2lf", areaCircle); return 0; }
@gayathriv1191
@gayathriv1191 10 ай бұрын
Answer:8 (c) thank you mam
@salmanmugharbel
@salmanmugharbel 9 ай бұрын
good
@sabelocomfort3828
@sabelocomfort3828 2 ай бұрын
Can you please make a video on Logical Operators
@adityashukla1562
@adityashukla1562 2 жыл бұрын
Mam pls make c programming all video. Pls 🙏🥺
@jehkaransingh3506
@jehkaransingh3506 2 жыл бұрын
Answer is 8.
@sakshikumari-ty7uo
@sakshikumari-ty7uo 2 жыл бұрын
Di ,in my visual studio code some keys like# ,g,h are not working . Can you please answer why ? Did by mistake I have done any setting please reply .
@krishnakumarisiramdasu670
@krishnakumarisiramdasu670 Жыл бұрын
option A (18)
@mgvillageboy9386
@mgvillageboy9386 Жыл бұрын
loved a love a loy🥰🥰🥰🥰🥰🥰🥰
@1NazareeM618
@1NazareeM618 Жыл бұрын
thank you !
@albertamenyah3019
@albertamenyah3019 Жыл бұрын
The answer is C. Because 2 * 9 = 18, then 18 / 3 = 6, then 5 + 6 = 11, then 11 - 3 = 8.
@user-of4xt8th2s
@user-of4xt8th2s 2 ай бұрын
thank you very much , i was lost, i really appriciate
@parsavatani3060
@parsavatani3060 3 ай бұрын
In x++ the value of variable is printed first then it is incremented whereas in ++x the value is incremented first and then it is displayed.
@pvijaykrishna9948
@pvijaykrishna9948 10 ай бұрын
Int main(); { Int x = 2; Int result = x*2; Printf("%d",result); return 0; }
@ravikirandoibale167
@ravikirandoibale167 2 жыл бұрын
Mam can you add more videos for c Pointer array string union struct
@Siddhantkarande6210
@Siddhantkarande6210 Жыл бұрын
The question answer is (5+2*9/3_3)=18
@Lamya_1
@Lamya_1 2 жыл бұрын
The answer is 8.000000
@rodainekennedy244
@rodainekennedy244 Жыл бұрын
C is the answer
@user-vb5bh4nn2x
@user-vb5bh4nn2x Жыл бұрын
Ma'am we can't get modulo of double and int variable if we want ??
@ayushratnaparkhi6107
@ayushratnaparkhi6107 2 жыл бұрын
printf("Answer = C(8)")
@eazyj_c
@eazyj_c 10 ай бұрын
Great tutorial. The correct answer is C.8 Thanks.
@bresleykimurgor23
@bresleykimurgor23 Жыл бұрын
dope
@Manikanta-wz2rl
@Manikanta-wz2rl Жыл бұрын
If we add brackets answer is 18 If we don't use brackets then answer is 8 Which is correct?
@onic9623
@onic9623 Жыл бұрын
Option C : 8
@ekkusu006
@ekkusu006 Жыл бұрын
can the code be like this? double result; result=result+X can I still get the result I want?
@racingfan372
@racingfan372 2 жыл бұрын
The answer is C. 8
@emotionalhealinghub5036
@emotionalhealinghub5036 Жыл бұрын
Please why calculating in normal calculator it's error but using the compiler it's 8?
@b.s.saadhanyashree5190
@b.s.saadhanyashree5190 Ай бұрын
🎉
@koromikhamis3439
@koromikhamis3439 Жыл бұрын
X=5+2*9/3-3=8
@typehrishi13
@typehrishi13 2 жыл бұрын
Option C is correct
@MUSIC-nh8xy
@MUSIC-nh8xy 2 жыл бұрын
Madom we can't use scanf function??
@mirzabaig490
@mirzabaig490 2 ай бұрын
18 is the value of x
@siddhSuryawanshi
@siddhSuryawanshi Жыл бұрын
#include int main(){ Double x =8.67; Double result= x+12.57; Printf("%2.lf",result); Return 0 ; }
@toykeem
@toykeem Жыл бұрын
the quiz answer is option A happy programming
@bekmirzo9259
@bekmirzo9259 2 ай бұрын
answer is "C" 11:37
@krishna_status_videos
@krishna_status_videos Жыл бұрын
Answer would be 8 of that question what you given
@hurulaynmuhamedsalimcedarp5770
@hurulaynmuhamedsalimcedarp5770 2 жыл бұрын
Q. What is the value of x in the following code? int x = 5 + 2 * 9 / 3 - 3; Answer is : 8
@Newzome
@Newzome Жыл бұрын
Right
@annachello32
@annachello32 Жыл бұрын
Option - c
@devil_m_0069
@devil_m_0069 2 жыл бұрын
8😊
#19 C Arrays | C Programming For Beginners
13:27
Programiz
Рет қаралды 229 М.
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 68 МЛН
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
#8: Boolean and Comparison Operators in C Programming
14:41
Programiz
Рет қаралды 110 М.
Simulating the Evolution of Rock, Paper, Scissors
15:00
Primer
Рет қаралды 394 М.
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,1 МЛН
C++ Tutorial for Beginners - Learn C++ in 1 Hour
1:22:56
Programming with Mosh
Рет қаралды 3,7 МЛН
#15  C Functions | C Programming for Beginners
17:21
Programiz
Рет қаралды 196 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 771 М.
String In Char Array VS. Pointer To String Literal | C Programming Tutorial
9:58
#9: If Else Statements in C | C Programming for Beginners
12:51
Programiz
Рет қаралды 170 М.