C tutorial assign values of two numbers and print their addition.
Audience
यह C ट्यूटोरियल श्रृंखला आपको सी प्रोग्रामिंग भाषा में आरंभ करने में मदद करेगी। C सीखने से, आप बुनियादी प्रोग्रामिंग अवधारणाओं को समझेंगे।
यह C ट्यूटोरियल श्रृंखला उन लोगों के लिए डिज़ाइन की गई है जो सी प्रोग्रामिंग सीखना चाहते हैं. चाहे आप शुरुआती हों या विशेषज्ञ, ट्यूटोरियल का उद्देश्य बुनियादी अवधारणाओं को सीधे और व्यवस्थित रूप से कवर करना है।
Required knowledge
C प्रोग्रामिंग भाषा सीखने के लिए, आपको किसी भी पिछले प्रोग्रामिंग ज्ञान की आवश्यकता नहीं है। किसी भी अन्य प्रोग्रामिंग भाषाओं की एक बुनियादी समझ आपको सी प्रोग्रामिंग अवधारणाओं को जल्दी से समझने में मदद करेगी।
C Example
Program to addition of two numbers
****************************************************************************
//If You Are Using "Turbo C++"
// EXAMPLE START
#include<stdio.h>
#include<conio.h>
void main() {
clrscr();
int a=10,b=20;
int answer = a + b;
printf("Addition is : %d",answer);
getch();
}
//you are trying in online editor to change code #include<conio.h>,clrscr(); and getch(); remove and use return 0; in getch(); place.
********************************************************************
If You Are Using Online Editor
Comments
Post a Comment