This is the basic structure of a C program. Let's understand step-by-step how to run this using Dev C++.
यह एक साधारण C प्रोग्राम है। चलिए इसे Dev C++ के द्वारा step-by-step चलाना सीखते हैं।
.c
extension, e.g., first.c
.Hello, World!
.c
एक्सटेंशन के साथ सेव करें जैसे first.c
।Hello, World!
दिखाई देगा।#include <stdio.h>
int main() {
printf("Hello, World!");
return 0;
}
Hello, World!
#include <stdio.h>
: Adds the standard input-output library.main()
: Entry point of the program.printf()
: Prints text to the screen.return 0;
: Indicates successful execution.#include <stdio.h>
: यह इनपुट-आउटपुट के लिए standard library है।main()
: यह प्रोग्राम का शुरुआत बिंदु है।printf()
: स्क्रीन पर output print करता है।return 0;
: सफलतापूर्वक प्रोग्राम खत्म होने का संकेत देता है।