C programming क्या है
C भाषा एक high-level programming language है, यह एक basics programming language है |
जो Dennis Ritchie ने 1972 में Bell Laboratories (USA) में विकसित की थी।
यह भाषा System Programming और Application Development दोनों के लिए उपयोग की जाती है।
C को “मदर ऑफ प्रोग्रामिंग लैंग्वेजेज़” भी कहा जाता है।
basic program example
#include <stdio.h> // Header file
int main() {
printf(“Hello, World!”); // Output statement
return 0; // End of program
}
Basics of c programming in hindi
- Introduction to C language
- Structure of a C program
- Compiling & running C programs
- Keywords and Identifiers Constants
- Constants, Variables & Data Types
- Input and Output functions
data types or variables
- variable kya hota hai
- data types (int, float, double, char)
- type modifiers
- constants (const keyword)
input or output function
- printf() function
- scanf() function
- Escape Sequences (जैसे \n, \t, आदि)
Basics of C Programming
- Introduction to C language
- Structure of a C program
- Compiling & running C programs
- Keywords and Identifiers Constants
- Constants, Variables & Data Types
- Input and Output functions
Operators & Expressions
- Arithmetic operators
- Relational operators
- Logical operators
- Assignment operators
- Increment and Decrement operators
- Conditional (Ternary) operator
- Bitwise operators
- Operator precedence and associativity
introduction to c language in hindi
C Language क्या है?
C एक Programming Language है जिसका उपयोग software, operating system, games और applications बनाने के लिए किया जाता है।
इसे 1970 के आसपास Dennis Ritchie ने बनाया था।
आसान भाषा में:
C language कंप्यूटर को instructions देने का तरीका है।
हम code लिखते हैं, और कंप्यूटर उसे समझकर काम करता है।
C Language का उपयोग कहाँ होता है?
- Operating System बनाने में
- Software Development में
- Game Development में
- Embedded Systems में
- Drivers बनाने में
introduction to c language in hindi
Compiling and Running C Program
C program सीधे run नहीं होता।
पहले उसे compile करना पड़ता है, फिर run किया जाता है।
1. Writing the Program
सबसे पहले .c file बनाते हैं।
Example:
#include <stdio.h>
int main()
{
printf(“Hello World”);
return 0;
}
File Name:
hello.c
2. Compiling the Program
Compiler source code को machine language में बदलता है।
3. Running the Program
Windows
Working Process
C Source Code (.c)
↓
Compiler
↓
Object Code
↓
Executable File
↓
Program Output