//welcome to c program ||Comments //
#include<stdio.h> ||Preprocessor (standard library)
int age =10; ||Global declarations
void main() ||Datatype main(parameter list)
{ ||{
Statement1; || /* Here your
Statement2; ||
StatementN; || */
||
} ||}
Comments:
c language में दो तरह से कमेंट दी जा सकती है |
#include<stdio.h> ||Preprocessor (standard library)
int age =10; ||Global declarations
void main() ||Datatype main(parameter list)
{ ||{
Statement1; || /* Here your
Statement2; ||
... || . program
... ||
... || . code StatementN; || */
||
} ||}
Comments:
c language में दो तरह से कमेंट दी जा सकती है |
- Singal line comment: इस कमेंट की मदद से हम कोई एक लाइन में कमेंट दे सकते है | (" //लाइन ")
- Multi line comment : इस कमेंट की मदद से हम एक साथ बहोत सारि लाइन में कमेंट दे सकते है |(" \*लाइनस *\ ")
- It is first line of C Language Program.यह सी भाषा कार्यक्रम की पहली पंक्ति है।
- we can include more than one file in any program. हम किसी भी कार्यक्रम में एक से अधिक फाइल शामिल कर सकते हैं।
- we can include any standard C library or any other user define library.हम किसी भी मानक सी पुस्तकालय या किसी अन्य उपयोगकर्ता पुस्तकालय परिभाषित शामिल कर सकते हैं।
- Tells the compiler include information about standard input/output library function. संकलक को मानक इनपुट / आउटपुट लाइब्रेरी फ़ंक्शन के बारे में जानकारी शामिल करता है।
- It also provide link between C Program and Standard Library. C यह सी कार्यक्रम और मानक पुस्तकालय के बीच भी लिंक प्रदान करता है
The Name of the Source file must be Enclosed between Double Quotes or Angle Brackets.स्रोत फ़ाइल का नाम डबल कोट्स या कोण ब्रैकेट के बीच संलग्न होना चाहिए।
- #include "stdio.h"
- #include <stdio.h>
तो दोस्तों अगर आपको हमारा ऐ blog पसंद आया तो Like और Share जरूर करे।
stud21022@gmail.com
सी प्रोग्रामिंग भाषा कोड शुरुआती के लिए
ReplyDeleteनमूना c प्रोग्राम UTC समय से समय मान को परिवर्तित करें