Input and Output: Printf and Scanf - C Programming Tutorial 06

  Рет қаралды 279,048

mycodeschool

mycodeschool

Күн бұрын

See complete series on C programming here:
• Introduction to Progra...
In this tutorial, we have explained printf and scanf functions in C that are used to read input and write output from command line or Console.
For more such videos and updates, subscribe to our channel:
/ mycodeschool
You may also like/follow us on Facebook/Twitter:
/ mycodeschool
/ mycodeschool

Пікірлер: 99
@sourPollo
@sourPollo 4 жыл бұрын
printf("You explain better than my professor... thanks!");
@rearea784
@rearea784 7 жыл бұрын
I wish I have discovered your channel earlier, nevertheless I am happy to actually learn and thankful to you. You are definitely the master of pedagogy, you make easy what is thought impossible.
@brownlkt
@brownlkt 7 жыл бұрын
I was struggling with this but you helped me understand this in a way that my teacher was not explaining. Thank you very much! I will definitely be using your videos to help me throughout my course!
@SAIPRIYADARSHINIJ
@SAIPRIYADARSHINIJ 3 жыл бұрын
Excellent explanation..... thank god for finding this channel for easy understanding of the subject
@MohamedSHbib
@MohamedSHbib 7 жыл бұрын
Nice, very nice. Thank you for the effort of sharing you knowledge with others in need of it like myself.
@zulfikarrahman7495
@zulfikarrahman7495 7 жыл бұрын
I dont know this page is so awesome..it make me understand how to make some program
@razzakahmad8731
@razzakahmad8731 6 жыл бұрын
yo buddy its the best explanation. I have seen many videos but could not grasp the meaning of these functions. thanks a lot man.
@brendananderson9102
@brendananderson9102 3 жыл бұрын
Thank you. The diagrams are really helpful. I've been writing them down.
@Xalgurom
@Xalgurom 7 жыл бұрын
Nice and well explained tutorial.,.. i really liked the memory visualization
@kirtipathak5114
@kirtipathak5114 6 жыл бұрын
I like your way of explaining .. Its so understandable and clear thank you
@omprakashpagadala5545
@omprakashpagadala5545 10 жыл бұрын
i request my codeschool to upload more videos on c. like loops etc thank u
@krossdoors3526
@krossdoors3526 3 жыл бұрын
Bro be is no more alive now 😭
@Travellife8877
@Travellife8877 7 жыл бұрын
your way of describe a topics with visual effects were gr8...thank..for ur concepts...
@Иринакролики
@Иринакролики 8 жыл бұрын
an excellent lesson, thank you so much!!
@devbhuva9798
@devbhuva9798 2 жыл бұрын
Perfecttttt...This was the video I was looking for..Cleared my confusion
@AmelJones
@AmelJones 7 жыл бұрын
you saved my exams!! thank youuuu
@nikitatalele4084
@nikitatalele4084 6 жыл бұрын
Thank You So much for such a useful videos. keep posting.
@kishoremahato9947
@kishoremahato9947 7 жыл бұрын
amazing explanation of everything. Thanks!amazing explanation of everything. Thanks!
@ngumichaelscots7849
@ngumichaelscots7849 4 жыл бұрын
Thank you so much,the video was so helpful
@hasibarian3588
@hasibarian3588 7 жыл бұрын
amazing explanation of everything. Thanks!
@himanshusingh5118
@himanshusingh5118 8 жыл бұрын
Very very thnx sir u clear my doubt.. What is scanf.!! Nyc job👍
@LuisEnriqueFuentesPlata
@LuisEnriqueFuentesPlata 7 жыл бұрын
Very Good this guy is amazing, keep up doing this videos bro.
@mikidoll2000
@mikidoll2000 2 жыл бұрын
u r a best teacher on this planet earth
@yedmavus
@yedmavus 2 жыл бұрын
Unfortunately, he is not on this planet any more.
@piumisenanayake5221
@piumisenanayake5221 3 жыл бұрын
Your explain is better. Thank you very much
@youcefyassef5672
@youcefyassef5672 2 жыл бұрын
very good lesson, thank you sir very much, clear and concise.
@albertgao7256
@albertgao7256 8 жыл бұрын
Splendid! Finally know why and when should we use pointer!
@jeandavidbeauboeuf3048
@jeandavidbeauboeuf3048 4 жыл бұрын
What is the use of " %d " why dont we just type for example " printf(c)???
@nirajabcd
@nirajabcd 10 жыл бұрын
Also, are you planning to add videos on graph and beyond? I am waiting for them :)
@kebakaonebajaki1018
@kebakaonebajaki1018 7 жыл бұрын
keep up the good work.really helpful!
@nunekusuma4145
@nunekusuma4145 3 жыл бұрын
Thanks a lot...😊 I understood. Rest in peace bro 🥲😔
@fergusondrozenski9888
@fergusondrozenski9888 8 жыл бұрын
This is a great video, thanks!
@_PrajaktaMokale
@_PrajaktaMokale 3 жыл бұрын
Bro thank youuu ❤️❤️❤️❤️🥰🥰🥰🥰
@elescoces33
@elescoces33 7 жыл бұрын
Amazing! Thanks for the lesson. You are awesome! :)
@infopedianews9221
@infopedianews9221 3 жыл бұрын
Thank you sir to make me understand....
@supergdify
@supergdify 8 жыл бұрын
Excellent tutorial
@zenjon7892
@zenjon7892 7 жыл бұрын
Could you make some video(s) on loops? I can't find them if you have
@nilay0911
@nilay0911 7 жыл бұрын
thnx for these all lessons
@YashPavaskar
@YashPavaskar 3 жыл бұрын
Good teacher ❤️👍
@Althmash
@Althmash 10 жыл бұрын
what if we add space in between "%d and %d" in printf,, i've done it and the value of b is resulting with 1024 i didn't get that :/
@kushalsb460
@kushalsb460 5 жыл бұрын
you also need to supply another identifier of integer type.
@toxiclion3397
@toxiclion3397 3 жыл бұрын
Printf("I understand you more than my professor... thanks!");
@prakashthakur1136
@prakashthakur1136 7 жыл бұрын
Thank u Sir.... U r Great Thanks for this vedio
@siniel8362
@siniel8362 3 жыл бұрын
If printf in C cout in c++ what scanf in c++??
@_manish519
@_manish519 3 жыл бұрын
thank you very much brother
@AdithyaS-mn6or
@AdithyaS-mn6or 7 жыл бұрын
I don't know the basics of c programming how it's used and why. Pls explain
@stevealvarado7313
@stevealvarado7313 8 жыл бұрын
very good thank you so much!
@-MadhumithaBasetti
@-MadhumithaBasetti 4 жыл бұрын
Why we should type space for many times?
@WennyeiKheang978
@WennyeiKheang978 5 жыл бұрын
Thank you so much
@leoabhi4343
@leoabhi4343 8 жыл бұрын
thanks
@brandonfigueroa2800
@brandonfigueroa2800 5 жыл бұрын
im doing a conversion of kilometers in miles and im pretty sure ive done it right it builds and it runs as well. but when I enter the value and hit enter my program exits out. any help would be greta
@sandwel3273
@sandwel3273 7 жыл бұрын
nice sir 👍 thanks
@prashikdeshpande9637
@prashikdeshpande9637 6 жыл бұрын
Which Playlist after this Introduction?!
@neerajvishwakarma8898
@neerajvishwakarma8898 8 жыл бұрын
realy helped me
@JayTailor45
@JayTailor45 8 жыл бұрын
Thankyou :D
@krishnakumar-kh5vo
@krishnakumar-kh5vo 4 жыл бұрын
Which ide/editor are u using sir?
@paraskumar4165
@paraskumar4165 6 жыл бұрын
bhut bdhiya
@heytheremogwai
@heytheremogwai 7 жыл бұрын
question...I'm trying to input a four digit integer (like 1234). is there a way to selectively (or parse) each digit of the integer by using the %d formatting?
@probhakarsarkar2430
@probhakarsarkar2430 7 жыл бұрын
# include int main() { int a,b,c; scanf("%1d %1d %1d",&a,&b,&c); printf("a=%d b=%d c=%d",a,b,c); } even using some garbage variable u expand ur selectivity
@MsPAL2010
@MsPAL2010 9 жыл бұрын
Hi, yo know why 10 ^ 23 = -2147483648 in language C? Thanks you
@kishoremahato9947
@kishoremahato9947 7 жыл бұрын
thank u so much
@sparkden
@sparkden 7 жыл бұрын
can you make a video how to install visual studio?! thank you.
@quintisfrazier1516
@quintisfrazier1516 Жыл бұрын
i'm sorry I don't get . so i will me on does anyone have the full code?
@anishshakha7419
@anishshakha7419 3 жыл бұрын
thank u sir \
@raghabcrioccj8416
@raghabcrioccj8416 6 жыл бұрын
thank you.
@abdelrahmanhassan8132
@abdelrahmanhassan8132 3 жыл бұрын
great
@vedantrishibros2410
@vedantrishibros2410 5 жыл бұрын
how do you run your commands in windows
@vijaysaikaranam7520
@vijaysaikaranam7520 2 жыл бұрын
Tq sir
@jaskiratsaini8376
@jaskiratsaini8376 6 жыл бұрын
if I write 'return1' instead of return0 what is the difference ??
@ivanadjordjevic6593
@ivanadjordjevic6593 6 жыл бұрын
When using "Return" function,you are actually doing so called "early exit out of a program".If you want your program to stop executing at some point you write return function.You can write only "return;" or "return 0;" or "return 1;" or "return 5;",It does not matter,but it matters if you use int main()(return 1; used usually) or void main()(return; used in this case) as an entrance function.
@franceestrera
@franceestrera 7 жыл бұрын
i dont really understand programming why that happends
@ericquan2935
@ericquan2935 6 жыл бұрын
You can try to learn about Operating systems and hardware.
@subramanyabhattm4626
@subramanyabhattm4626 6 жыл бұрын
was helpfull thank you////
@faysalrahaman9546
@faysalrahaman9546 5 жыл бұрын
Nice
@Nitinvishwakarma1505
@Nitinvishwakarma1505 2 жыл бұрын
Are bhai computer💻 kya video computer par nahi baanye yha toh laptop💻 pe baanaye hote
@Bhuyan_G
@Bhuyan_G 6 жыл бұрын
where do i write programs ? i have code blocks compiler , but programs aren't running
@parasrawat6950
@parasrawat6950 6 жыл бұрын
ideone.com/lVixoB try this online compiler
@MrHitMarker182
@MrHitMarker182 6 жыл бұрын
code blocks is an IDE, you may need to install a GCC (mingw, cygwin, etc) in order to compile your code.
@Farmer_Fm
@Farmer_Fm 7 жыл бұрын
Still idont know the exact time to use float,scanf amd printf.please reply me
@timothyishmael2096
@timothyishmael2096 7 жыл бұрын
I don't think he's explained float yet, but the printf is the command to tell the program to display whatever is inside it, and the scanf is the command to receive input from the user of the program.
@Farmer_Fm
@Farmer_Fm 7 жыл бұрын
Timothy Ishmael ty
@Jack-gx8xn
@Jack-gx8xn 7 жыл бұрын
Sorry for late reply Float is used when you have number in decimal like 26.58, 56.1, etc number which have point in it. int is used when you want to use a numbers which not have point in it like 28, 58, 56, etc printf is used when you want to print something on screen. scanf is used when you want to take data from user.
@subhankarbarua775
@subhankarbarua775 6 жыл бұрын
#include int main() { int age; float weight; char sex; scanf("%d",&age); scanf("%f",&weight); scanf("%c",&sex); printf("age = %d, weight = %f, sex = %c",age,weight,sex); return 0; } this is my program i am not getting the result of sex!!! the run function is not leting to input the sex
@svineet623
@svineet623 6 жыл бұрын
void main ( ) { int x; x = printf(“I See, Sea in C”); printf(“ x= % d” , x); } explain
@Mamathajb28
@Mamathajb28 2 жыл бұрын
Syntax error
@zeenatsalehtania7144
@zeenatsalehtania7144 3 жыл бұрын
Printf("Thnx");
@Dailyhieveryday
@Dailyhieveryday 4 жыл бұрын
i lost my brain cell
@sahijpreetsingh3075
@sahijpreetsingh3075 3 жыл бұрын
Who is here from chandigarh university???
@AMITSHARMA-oh1nq
@AMITSHARMA-oh1nq 4 жыл бұрын
Codeschool was died in a car accident 😔
@a1234-e1w
@a1234-e1w 2 жыл бұрын
So much talk so little info
@nirajabcd
@nirajabcd 10 жыл бұрын
Also, are you planning to add videos on graph and beyond? I am waiting for them :)
@jayednahian3099
@jayednahian3099 8 жыл бұрын
thanks
@philipuswijaya7240
@philipuswijaya7240 5 жыл бұрын
Thanks :)
@adwaithcalicut5457
@adwaithcalicut5457 7 жыл бұрын
Nice
@tahirali6409
@tahirali6409 9 жыл бұрын
thanks
@azizas9366
@azizas9366 10 жыл бұрын
Thanks
Using Arithmetic Operators - C Programming Tutorial 07
16:12
mycodeschool
Рет қаралды 140 М.
Scanf Basics: the good, the bad, and why so many pointers?
15:07
Jacob Sorber
Рет қаралды 23 М.
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 116 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 21 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 76 МЛН
Character arrays and pointers - part 1
14:41
mycodeschool
Рет қаралды 549 М.
Know your data type: int - C Programming Tutorial 08
23:03
mycodeschool
Рет қаралды 235 М.
C++ basic input and output with scanf and printf
38:28
DavidWesselsVIU
Рет қаралды 1,2 М.
47 - STRINGS or CHARACTER ARRAYS - C PROGRAMMING
39:22
Sundeep Saradhi Kanthety
Рет қаралды 156 М.
printf Basics | C Programming Tutorial
16:46
Portfolio Courses
Рет қаралды 30 М.
Be Careful When Using scanf() in C
12:22
NeuralNine
Рет қаралды 129 М.
Pointers and dynamic memory - stack vs heap
17:26
mycodeschool
Рет қаралды 1,4 МЛН
array vs &array Pointers Difference Explained | C Programming Tutorial
17:38
Dynamic memory allocation in C - malloc calloc realloc free
17:35
mycodeschool
Рет қаралды 884 М.