Тёмный

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

mycodeschool
Подписаться 759 тыс.
Просмотров 277 тыс.
50% 1

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

Опубликовано:

 

26 май 2014

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 99   
@sourPollo
@sourPollo 3 года назад
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 6 лет назад
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!
@kirtipathak5114
@kirtipathak5114 6 лет назад
I like your way of explaining .. Its so understandable and clear thank you
@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.
@MohamedSHbib
@MohamedSHbib 7 лет назад
Nice, very nice. Thank you for the effort of sharing you knowledge with others in need of it like myself.
@Xalgurom
@Xalgurom 7 лет назад
Nice and well explained tutorial.,.. i really liked the memory visualization
@user-ug6nw8tn2n
@user-ug6nw8tn2n 8 лет назад
an excellent lesson, thank you so much!!
@brendananderson9102
@brendananderson9102 3 года назад
Thank you. The diagrams are really helpful. I've been writing them down.
@nikitatalele4084
@nikitatalele4084 5 лет назад
Thank You So much for such a useful videos. keep posting.
@SAIPRIYADARSHINIJ
@SAIPRIYADARSHINIJ 3 года назад
Excellent explanation..... thank god for finding this channel for easy understanding of the subject
@hasibarian3588
@hasibarian3588 7 лет назад
amazing explanation of everything. Thanks!
@Travellife8877
@Travellife8877 7 лет назад
your way of describe a topics with visual effects were gr8...thank..for ur concepts...
@kishoremahato9947
@kishoremahato9947 7 лет назад
amazing explanation of everything. Thanks!amazing explanation of everything. Thanks!
@elescoces33
@elescoces33 7 лет назад
Amazing! Thanks for the lesson. You are awesome! :)
@LuisEnriqueFuentesPlata
@LuisEnriqueFuentesPlata 7 лет назад
Very Good this guy is amazing, keep up doing this videos bro.
@kebakaonebajaki1018
@kebakaonebajaki1018 7 лет назад
keep up the good work.really helpful!
@fergusondrozenski9888
@fergusondrozenski9888 7 лет назад
This is a great video, thanks!
@zulfikarrahman7495
@zulfikarrahman7495 6 лет назад
I dont know this page is so awesome..it make me understand how to make some program
@devbhuva9798
@devbhuva9798 2 года назад
Perfecttttt...This was the video I was looking for..Cleared my confusion
@zenjon7892
@zenjon7892 7 лет назад
Could you make some video(s) on loops? I can't find them if you have
@nirajabcd
@nirajabcd 10 лет назад
Also, are you planning to add videos on graph and beyond? I am waiting for them :)
@albertgao7256
@albertgao7256 8 лет назад
Splendid! Finally know why and when should we use pointer!
@AmelJones
@AmelJones 7 лет назад
you saved my exams!! thank youuuu
@himanshusingh5118
@himanshusingh5118 8 лет назад
Very very thnx sir u clear my doubt.. What is scanf.!! Nyc job👍
@ngumichaelscots7849
@ngumichaelscots7849 4 года назад
Thank you so much,the video was so helpful
@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 😭
@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
@piumisenanayake5221
@piumisenanayake5221 3 года назад
Your explain is better. Thank you very much
@supergdify
@supergdify 7 лет назад
Excellent tutorial
@prakashthakur1136
@prakashthakur1136 7 лет назад
Thank u Sir.... U r Great Thanks for this vedio
@youcefyassef5672
@youcefyassef5672 Год назад
very good lesson, thank you sir very much, clear and concise.
@nilay0911
@nilay0911 7 лет назад
thnx for these all lessons
@prashikdeshpande9637
@prashikdeshpande9637 6 лет назад
Which Playlist after this Introduction?!
@sparkden
@sparkden 7 лет назад
can you make a video how to install visual studio?! thank you.
@stevealvarado7313
@stevealvarado7313 7 лет назад
very good thank you so much!
@infopedianews9221
@infopedianews9221 3 года назад
Thank you sir to make me understand....
@krishnakumar-kh5vo
@krishnakumar-kh5vo 4 года назад
Which ide/editor are u using sir?
@vedantrishibros2410
@vedantrishibros2410 5 лет назад
how do you run your commands in windows
@YashPavaskar
@YashPavaskar 3 года назад
Good teacher ❤️👍
@jeandavidbeauboeuf3048
@jeandavidbeauboeuf3048 3 года назад
What is the use of " %d " why dont we just type for example " printf(c)???
@-MadhumithaBasetti
@-MadhumithaBasetti 3 года назад
Why we should type space for many times?
@neerajvishwakarma8898
@neerajvishwakarma8898 8 лет назад
realy helped me
@AdithyaS-mn6or
@AdithyaS-mn6or 7 лет назад
I don't know the basics of c programming how it's used and why. Pls explain
@_manish519
@_manish519 3 года назад
thank you very much brother
@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 4 года назад
you also need to supply another identifier of integer type.
@nunekusuma4145
@nunekusuma4145 3 года назад
Thanks a lot...😊 I understood. Rest in peace bro 🥲😔
@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
@sandwel3273
@sandwel3273 7 лет назад
nice sir 👍 thanks
@mikidoll2000
@mikidoll2000 2 года назад
u r a best teacher on this planet earth
@yedmavus
@yedmavus 2 года назад
Unfortunately, he is not on this planet any more.
@WennyeiKheang978
@WennyeiKheang978 4 года назад
Thank you so much
@_PrajaktaMokale
@_PrajaktaMokale 2 года назад
Bro thank youuu ❤️❤️❤️❤️🥰🥰🥰🥰
@paraskumar4165
@paraskumar4165 6 лет назад
bhut bdhiya
@siniel8362
@siniel8362 2 года назад
If printf in C cout in c++ what scanf in c++??
@quintisfrazier1516
@quintisfrazier1516 Год назад
i'm sorry I don't get . so i will me on does anyone have the full code?
@JayTailor45
@JayTailor45 8 лет назад
Thankyou :D
@kishoremahato9947
@kishoremahato9947 7 лет назад
thank u so much
@raghabcrioccj8416
@raghabcrioccj8416 6 лет назад
thank you.
@leoabhi4343
@leoabhi4343 7 лет назад
thanks
@subramanyabhattm4626
@subramanyabhattm4626 6 лет назад
was helpfull thank you////
@adwaithcalicut5457
@adwaithcalicut5457 6 лет назад
Nice
@MsPAL2010
@MsPAL2010 9 лет назад
Hi, yo know why 10 ^ 23 = -2147483648 in language C? Thanks you
@toxiclion3397
@toxiclion3397 3 года назад
Printf("I understand you more than my professor... thanks!");
@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.
@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.
@philipuswijaya7240
@philipuswijaya7240 5 лет назад
Thanks :)
@anishshakha7419
@anishshakha7419 3 года назад
thank u sir \
@abdelrahmanhassan8132
@abdelrahmanhassan8132 3 года назад
great
@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 6 лет назад
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.
@azizas9366
@azizas9366 10 лет назад
Thanks
@franceestrera
@franceestrera 7 лет назад
i dont really understand programming why that happends
@ericquan2935
@ericquan2935 6 лет назад
You can try to learn about Operating systems and hardware.
@vijaysaikaranam7520
@vijaysaikaranam7520 2 года назад
Tq sir
@svineet623
@svineet623 6 лет назад
void main ( ) { int x; x = printf(“I See, Sea in C”); printf(“ x= % d” , x); } explain
@Mamathajb28
@Mamathajb28 2 года назад
Syntax error
@Nitinvishwakarma1505
@Nitinvishwakarma1505 2 года назад
Are bhai computer💻 kya video computer par nahi baanye yha toh laptop💻 pe baanaye hote
@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
@zeenatsalehtania7144
@zeenatsalehtania7144 2 года назад
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 😔
@user-yg6nq9lw5g
@user-yg6nq9lw5g 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 :)
@tahirali6409
@tahirali6409 9 лет назад
thanks
@faysalrahaman9546
@faysalrahaman9546 5 лет назад
Nice
@jayednahian3099
@jayednahian3099 7 лет назад
thanks
Далее
Using Arithmetic Operators - C Programming Tutorial 07
16:12
Be Careful When Using scanf() in C
12:22
Просмотров 127 тыс.
Working with pointers
11:38
Просмотров 578 тыс.
Pointers and dynamic memory - stack vs heap
17:26
Просмотров 1,4 млн
Know your data type: int - C Programming Tutorial 08
23:03
What is a Monad? - Computerphile
21:50
Просмотров 597 тыс.
4. Assembly Language & Computer Architecture
1:17:35
Просмотров 701 тыс.