C Programming in One Shot | Part 1 | Variables, Operators and Input/ Output | C Complete Course

C Programming in One Shot | Part 1 | Variables, Operators and Input/ Output | C Complete Course

सी भाषा के लिए परिचय

अनुभाग अवलोकन: इस वीडियो में, हम सी भाषा के प्रारंभिक स्तर को समझने का प्रयास करेंगे।

सी भाषा क्या है?

  • सी भाषा में प्रोग्रामिंग क्या है?
  • C++ और Java से मुकाबले में, C क्यों महत्वपूर्ण है?
  • C language सीखने के लिए, is video को follow करें।

Video dekhne ke liye prerequisites

  • Laptop or PC hona chahiye
  • Video ko phone par dekh sakte hain ya fir split screen mein bhi dekh sakte hain
  • Notes banane ki salah di jati hai lekin mandatory nahi hai.

Video shuru karte hain!

  • Koi prerequisite nahi hai.
  • Visual Studio Code install karna zaroori hai.
  • Online compiler ka use karke bhi coding ki practice kar sakte hain.
  • Online C compiler search karne ke liye Google par jayein.
  • Video mein di gayi websites se online coding ki practice kar sakte hain.

फ़ोल्डर मैनेजमेंट

इस सेक्शन में हम प्रोग्रामिंग के बारे में बात करते हैं, फ़ोल्डर मैनेजमेंट की जरूरत क्या होती है, प्रोग्रामिंग का मुख्य उद्देश्य क्या होता है, और प्रोग्रामिंग से संबंधित कुछ पहलुओं पर चर्चा की जाती है।

1.1: फाइल संरक्षित करना

  • प्रोग्रामिंग में, हम समस्याओं के समाधान के लिए कुछ प्रोग्राम लिखते हैं,  हमेशा संसाधक (folders) में संपति (files) की सुरक्षा के लिए पहले से ही पहलु (folders) create kar sakte hain।
  • यह थोड़ा miss-management के लिए हो सकता है, लेकिन basics के लिए यह एक अच्छी बात है।
  • प्रोग्रामिंग का मुख्य उद्देश्य automation होता है,  प्रोग्रामिंग का मतलब कुछ automate करना होता है।

1.2: प्रोग्रामिंग से संबंधित

  • प्रोग्रामिंग से संसाधक (folders) में files create karne ke alawa, hum kuch aur bhi kar sakte hain jaise ki calculator program banane ke liye code likhna.
  • Calculator program mein hum R cube ko multiply karke pi se aur phir 4 se multiply karke data calculate karte hain.
  • Hum printf function ka use karke output print karte hain.

1.3: Output Print Karne Ka Tarika

  • Output print karne ke liye hum printf function ka use karte hain.
  • Code mein VV = 4x3 pi R likhkar $2 rupees calculate kiya ja sakta hai.
  • Hum input aur output ke baare mein bhi discuss karte hain.

प्रिंटएफ का उपयोग

इस सेक्शन में हम प्रिंटएफ के बारे में सीखेंगे।

प्रिंटएफ का उपयोग

  • प्रिंटएफ का उपयोग हमारी output screen पर text print करने के लिए होता है।
  • printf statement में text को inverted commas ("") में लिखा जाता है।
  • backslash n escape sequence, computer को next line पर move करता है।
  • semi-colon (;) code editor में line finish करता हैं, computer code editor में line by line read करता हैं ।

Escape Sequences

In this section, the speaker explains escape sequences in C programming language.

Backslash n

  • The backslash n is an escape sequence that represents a new line.
  • When used in printf function, it moves the cursor to the next line.
  • It can be used multiple times to create multiple lines of output.

Writing Multiple Lines of Output

  • To write multiple lines of output, use backslash n to move the cursor to the next line and continue writing.
  • Alternatively, use separate printf statements for each line of output.

Predicting Output

  • The speaker presents a question about predicting output in C programming language.
  • The question involves using two printf statements and predicting the resulting output on the screen.

प्रिंट करना सीखें

इस वीडियो में हम पाठकों को प्रिंट करने के बारे में सिखाएंगे। हम देखेंगे कि प्रिंट कैसे करते हैं, backslash ( क्या होता है, dry run क्या होता है, space और forward slash (/) में अंतर क्या है।

Backslash (

  • Backslash ( enter key की तरह होता है
  • Backslash ( computer code में backslash ( से represent होता है

Dry Run

  • Dry run code paper पर coding समझने की technique होती है
  • Code में backslash (, in-in, semicolon (;), print-f double-codes ("") use किए जाने पर output screen पर print-up hota hai

Forward Slash (/)

  • Forward slash (/), divide sign (÷), text character n, monolot star (*) सभी कुछ अलग-अलग होते हैं
  • Forward slash (/) को computer में normal character के तरह use किया जाता है

Printing with Backslash ( and Space

  • Print function में space double quotes ("") में होता है
  • Space print screen पर show नहीं होता, code में space add करने से output screen पर space show होता है

प्रिंटिंग स्पेस समझें

इस वीडियो में पाठकों को स्पेस (space) के बारे में समझाया जाएगा।

Printing with Space

  • Computer code में space double quotes ("") में add किया जाता है
  • Output screen पर space show होता है
  • Code में space add करने से output screen पर gap show होती है

सीखें C Programming: Header Files

इस वीडियो में हम सीखेंगे कि Header files क्या होते हैं और कैसे उन्हें प्रोग्राम में include किया जाता है।

Header Files

  • Header file क्या होते हैं?
  • Code में header file include करने से क्या होता है?
  • printf function को use करने के लिए stdio.h header file include करना पड़ता है।
  • Variables and literals are important in programming.

सीखें C Programming: Printing Variables

इस वीडियो में, हम variables print करना सीखेंगे, format specifier %d, %f, %c, %lf etc. पर focus करके.

Printing Variables

  • Computers store variables differently than in math.
  • Format specifiers like %d are used to print variables.
  • Updating variables is done by assigning a new value to the variable name.
  • The backslash character is used to print special characters like new lines.
  • The format specifier %d is used to print integer variables.
  • The value of a variable can be updated and printed using the same format specifier.
  • Format specifiers are used to print variables in a specific format.
  • Printing variables and updating them is an important part of programming.

सीखें C Programming: Updating Variables

इस वीडियो में, हम variables को update करना सीखेंगे।

Updating Variables

  • Updating variables involves assigning a new value to the variable name.
  • The printf function can be used to print updated variable values.
  • Format specifiers like %d are used to print integer variables.

उत्पाद कोडिंग

इस सेक्शन में, उत्पाद कोडिंग के बारे में बात हुई है।

उत्पाद कोडिंग

  • Tygo ecci dq inciąg
  • Qb 100mm
  • Qb-19xictions
  • Qb 500xXdisg
  • Qb 600 poor

प्रैक्टिकल प्रोग्रामिंग

इस सेक्शन में, प्रैक्टिकल प्रोग्रामिंग के बारे में बताया गया है।

प्रैक्टिकल प्रोग्रामिंग

  • 7, 12 0 12 kai 12 ok i hope api a c ch s a y a a a a a a a a a اس کا b meaning کیا ہوتا ہے
  • "debba" banane ke baad usmein "7" ki value hai. Is line mein kaam kar sakte hain.
  • यह int x equal to 5 again vapis bata اس کو 2 line وں में भी लिख सकते हैं
  • "int x" likhne ke baad "6" mein "x equal to 5" likh sakte hain. Iska kaam do lines se ho jayega.

इंट्रोडक्शन

इस सेक्शन में, हम पाठ के आरंभिक विषयों पर चर्चा करते हैं।

डेटा टाइप्स

  • हम पाठ में decimal number real number के साथ-साथ integer value store करने की भी बात करते हैं।
  • Aritmetic operation पर discussion की जाती है, x plus 5, x minus 20, x plus y, x minus y.

Operators

Operators पर discussion की जाएगी।

Arithmetic Operators

  • Plus, Minus, Division and Star operators discussed.
  • Plus and Minus operators can be used with integers as well as decimal numbers.
  • Star operator is used for multiplication and forward slash (/) is used for division.

Printing Values

  • %d format specifier is used to print integer values.
  • Backslash (n) is used to print a new line while printing values.

Conclusion

In this section we conclude the topics covered in the previous sections.

Recap of Topics Covered

  • Recap of the topics covered in the previous sections.
  • Discussion on how x divided by y is calculated.

I apologize, but I cannot see any transcript provided in the conversation. Please provide me with the transcript so that I can summarize it as per your requirements.

I understand the task. I will summarize the transcript in Hindi language and markdown format, using timestamps when available to help others study the transcript. I will follow the given structure and formatting tips to create a clear and concise summary of the video.

Float Data Type

In this section, the speaker explains the concept of float data type and how it works in C programming.

Understanding Float Data Type

  • Float data type can store decimal values.
  • When using printf to print a float value, use %f instead of %d.
  • If you try to divide an integer by another integer and store it in a float variable, you may get an error due to truncation. To avoid this, make sure at least one operand is a float.
  • When storing an integer value in a float variable, the value is converted into a decimal with .0 added at the end.

Volume of Sphere Calculation

In this section, the speaker demonstrates how to calculate the volume of a sphere using C programming.

Calculating Volume of Sphere

  • The formula for calculating volume of sphere is 4/3 * pi * r^3.
  • Create a new file in VSCode and name it "VolumeOfSphere.c".
  • Declare variables for radius and volume. Use float data type for volume since it will be storing decimal values.
  • Use the formula to calculate volume. Make sure at least one operand is a float to avoid truncation errors.
  • Print out the calculated volume using printf function.

वॉल्यूम की गणना

इस सेक्शन में हम पाई के वॉल्यूम की गणना करते हुए प्रोग्रामिंग सीखेंगे।

प्रोग्रामिंग सीखना

  • पाई के वॉल्यूम की गणना float में होती है
  • float में 523.6 के radius से approximate value मिलता है
  • float का use decimal points ज्यादा digit करने में help करता है
  • program में R change करके volume calculate किया जा सकता है
  • program writing time is within 2 minutes and it's very simple to write code for such calculations

Circle Area Calculation

इस सेक्शन में, हम circle area calculation पर focus karenge.

Circle Area Calculation

  • WAP (Write a Program) to display the area of a circle with given radius.

Percentage Calculation

इस सेक्शन में, हम percentage calculation पर focus karenge.

Percentage Calculation

  • Calculate the percentage of 5 subjects by adding all the subjects and dividing them by 5.
  • Writing a program for percentage calculation will save time and manual effort.
  • Example of calculating percentage of 5 subjects with given marks.

Writing a Program to Calculate Percentage

इस सेक्शन में, हम programming के through percentage calculation करना सीखेंगे।

Writing a Program to Calculate Percentage

  • Write a program to calculate the percentage of 5 subjects using float variables.
  • Take input from user for each subject's marks and store them in respective variables.
  • Add all the marks and divide by total number of subjects (5 in this case).
  • Use comments in C code to explain what each variable represents.
  • Double-slash is used for commenting in C.

कमेंट्स

इस सेक्शन में हम कोड में कमेंट करने के बारे में सीखते हैं।

सिंगल लाइन कमेंट

  • // दोहरी स्लैश (//) एकल पंक्ति कमेंट होता है, जिससे पंक्ति को प्रोसेसिंग से बाहर रखा जाता है।
  • /* */ /* (forward slash and asterisk) से प्रारंभ होता है, */ (asterisk and forward slash) से समाप्त होता है, मल्टीलाइन कमेंट होता है, जिससे प्रक्रिया मुक्ति मिलती है|

Ctrl + /

  • Ctrl + / (Windows), Cmd + / (Mac) : Ctrl + / पर click करने से single line comment add/remove ho jata hai |

Bracket Order

इस सेक्शन में हम ब्रैकेट के बारे में सीखते हैं।

  • जब आप कोड में ब्रैकेट का प्रयोग करते हैं, तो पहले division, multiplication, addition, subtraction किए जाते हैं |
  • Brackets are used to change the order of operations in a mathematical expression. For example, if you want to add two numbers before dividing them by another number, you would use brackets to group the addition operation together.

Percentage Calculation

इस सेक्शन में हम प्रतिशत (Percentage) की calculation सीखते हैं|

  • Percentage calculation is done by dividing the sum of all marks obtained by the total marks and then multiplying it by 100.
  • The formula for calculating percentage is: (sum of all marks obtained / total marks)*100
  • To calculate percentage using a program, we can take input from the user and use variables to store values. We can then perform calculations on these variables and display the result using printf() function.

Homework

इस सेक्शन में homework assignment discuss kiya gaya hai |

  • Calculate percentage of four subjects where each subject has maximum marks of 40.

I apologize, but I cannot provide a summary of the transcript without having access to it. Please provide me with the transcript so that I can create a comprehensive and informative markdown file in Hindi language using timestamps when available.

I apologize for my previous responses not being in Hindi. Here is the summary of the transcript in Hindi using markdown format:

वेिशेष चरित्रों का उपयोग

इस सेक्शन में, हम सीखेंगे कि कैसे हम विभिन्न विशेष चरित्रों का उपयोग करते हुए प्रोग्रामिंग में पहली स्टैप्स को समझते हैं।

बैकस्लैश, स्लैश, प्लस, माइनस, और बराबर

  • प्रोग्रामिंग में, हम , / , + , - , = का उपयोग करते हैं
  • / or का variable name में use nahi kar sakte
  • auto and extern keywords allowed nahi hai
  • commas and blanks allowed nahi hai

Variable Names

  • Variable names should only contain alphabets and underscore (_)
  • Capitalization matters in variable names. m1 and M1 are different variables.
  • Changing even one letter in a variable name changes the entire variable.

Keywords

  • Certain keywords like auto, double, int, break, external, enum are not allowed as variable names.
  • Naming variables with sensitive names is not recommended.
  • Some special keywords are not allowed in programming.

Conclusion

  • Programming has certain rules and restrictions that must be followed when naming variables and using special characters.

I apologize, but I cannot provide a summary of the transcript as there is no transcript provided in the prompt. Please provide me with the transcript so that I can create a comprehensive and informative markdown file.

I apologize, but I cannot see any transcript provided in the conversation. Please provide me with the transcript so that I can create a comprehensive and informative markdown file as per your requirements.

I apologize, but I cannot provide a summary of the transcript as there is no transcript provided in the prompt. Please provide me with the transcript so that I can create a comprehensive and informative markdown file.

I apologize, but I cannot see any transcript or video to summarize. Please provide me with the transcript or video so that I can create a summary in the format you have requested.

I apologize, but I cannot provide a summary of the transcript without having access to it. Please provide me with the transcript so that I can create a comprehensive and informative markdown file in Hindi language using timestamps when available.