Input Output Function In C :- рдЕрднреА рддрдХ рдЖрдк variable рдореЗрдВ value рдХреЛ variable declare рдХрд░рддреЗ time рд╣реА initialize рдХрд░ рджреЗрддреЗ рдереЗ рд▓реЗрдХрд┐рди рдЕрдЧрд░ рдЖрдкрдХреЛ run time рдкреЗ value variable рдореЗрдВ store рдХрд░рдиреА рдкреЬреЗ рддреЛ рдХреИрд╕реЗ рдХрд░реЗрдВрдЧреЗ рддреЛ рдЖрдЬ рд╣рдо рд▓реЛрдЧ рдпрд╣реА рдЬрд╛рдиреЗрдВрдЧреЗ рдХреА рдХреМрди рдХреМрди рд╕реЗ function рд╣реЛрддреЗ рд╣реИ рдЬрд┐рд╕рд╕реЗ рдЖрдк value рдХреЛ variable рдореЗрдВ program рдХреЗ run рд╣реЛрдиреЗ рдХреЗ рдмрд╛рдж input рдХрд░рд╡рд╛ рд╕рдХрддреЗ рд╣реИред
How To Become Android Developer Full Guide
Input Output Function In C
printf() -: printf() function stdio.h┬а рдХрд╛ builtin function рд╣реЛрддрд╛ рд╣реИ рдЬрд┐рд╕рдХрд╛ use рдХрд░рдХреЗ рд╣рдо statement рдХреЛ console(command prompt)┬ардкреЗ output (display) рдХрд░рд╡рд╛рддреЗ рд╣реИред
scanf() -: scanf() function рднреА stdio.h рдХрд╛ builtin function рд╣реЛрддрд╛ рд╣реИ рдЬрд┐рд╕рдХрд╛ use рдХрд░рдХреЗ рд╣рдо value рдХреЛ console рдореЗрдВ input рдХрд░рд╡рд╛рддреЗ ┬ард╣реИ рдпрд╛ рдпреЗ рдХрд╣реЗ рдХреА run time рдкреЗ variable рдореЗрдВ value insert рдХрд░рддреЗ рд╣реИред
рдЖрдк рд▓реЛрдЧреЛ рдиреЗ data types рдХреЗ рдмрд╛рд░реЗ рдореЗрдВ рдкреЭрд╛ рд╣реЛрдЧрд╛ рдХреА рд╣рдо рдкрд╣рд▓реЗ compiler рдХреЛ рдпреЗ рдмрддрд╛рддреЗ рд╣реИ рдХреА рд╣рдо рдХрд┐рд╕ type рдХрд╛ рдбрд╛рдЯрд╛ variable рдореЗрдВ store рдХрд░реЗрдВрдЧреЗ рдЬреИрд╕реЗ рдХреА int,float,char etc. рддреЛ рдЙрд╕реА рддрд░рд╣┬а printf() рдФрд░ scanf() function рдХреЛ рднреА рдмрддрд╛рдирд╛ рдкреЬрддрд╛ рд╣реИ рдХреА рд╣рдо рдХреА type рдХрд╛ data input рдФрд░ output рдХрд░рд╡рд╛рдирд╛ рдЪрд╛рд╣рддреЗ рд╣реИред рдЕрд▓рдЧ рдЕрд▓рдЧ data type рдХреЗ рд▓рд┐рдП рд╣рдореЗ рдЕрд▓рдЧ рдЕрд▓рдЧ format specifier рд▓рд┐рдЦрдирд╛ рдкреЬрддрд╛ рдЬреИрд╕реЗ рдХреА рдЖрдк рдиреАрдЪреЗ table рдореЗрдВ рджреЗрдЦ рд╕рдХрддреЗ рд╣реИ
%d
integer value рдХреЛ input рдФрд░ output рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдЗрд╕ format specifier рдХрд╛ use рдХрд░рддреЗ рд╣реИред
%f
float type рдХреА value рдХреЗ рд▓рд┐рдП рд╣рдо рдЗрд╕рдХрд╛ use рдХрд░рддреЗ рд╣реИ
%c
рдЕрдЧрд░ рдЖрдкрдХреЛ рдПрдХ character input рдХрд░рд╡рд╛рдирд╛ рд╣реИ рддреЛ рдЖрдк рдЗрд╕ format specifier рдХрд╛ use рдХрд░ рд╕рдХрддреЗ рд╣реИред
%s
string type рдХреА value рдХреЗ рд▓рд┐рдП %s рдХрд╛ use рдХрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИред
long int рдХреЗ рд▓рд┐рдП %ld рдХрд╛ use рдХрд░рддреЗ рд╣реИред
printf() рдФрд░ scanf() рдХрд╛ use рдХрд░рдХреЗ рд╣рдо рд▓реЛрдЧ рдПрдХ program рдмрдирд╛рддреЗ рд╣реИ рдЬрд┐рд╕рд╕реЗ рдЖрдкрдХреЛ рдФрд░ рдЕрдЪреНрдЫреЗ рд╕реЗ рдЗрд╕рдХрд╛ use рд╕рдордЭ рдореЗрдВ рдЖ рдЬрдпреЗрдЧрд╛ред рд╣рдо рд▓реЛрдЧ рдПрдХ рдРрд╕рд╛ program рдмрдирд╛рдПрдВрдЧреЗ рдЬреЛ рджреЛ value рдХреЛ add┬а рдХрд░рдХреЗ рдФрд░ result output screen рдореЗрдВ show рдХрд░реЗрдЧрд╛ред рдиреАрдЪреЗ рджрд┐рдП рдЧрдП program рдХреЛ рджреЗрдЦрд┐рдпреЗред
#include<stdio.h>
main()
{
int firstNum;
int secondNum;
int result;
printf("Enter Two Number -: ");
scanf("%d%d",&firstNum,&secondNum);
result = firstNum+secondNum;
printf("Addition is = %d",result);
}
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.