Posts

Operators in C language | C language

Image
Operator  :- Opertor ek symbol hai jiska use hm Koe bhi operation perform krne ke liye krte hai. Types of Operator in C language There are Many types like :-  Arthmetic Operator, Relational Operator, Logical Operator,  Bitwise Operator,  Other Bitwise Operator, Asssignment Operator,  Miscellaneous Operator, Operator Precedence In C Arthmetic Operator Relational Operator Logical Operator Bitwise Operator Other Bitwise Operator Asssignment Operator Miscellaneous Operator Operator Precedence In C

Notes of C language Day to Day notes are here [ Handwritten Notes ]

  You can download all notes safely from google drive   The notes are Day by Day written notes In whole note there many file according to day by day ( whole notes me day by day ka note hai every day ka ek alg file hai ) You can download Whole Notes By clicking on blue Download Text/Button G - Drive  -    π˜Ώπ™€π™¬π™£π™‘π™€π™–π™™ οΌ€ο½ο½—ο½Žο½Œο½ο½ο½„  

[#3] Programme for checking size of Data type (Codewithharrry #6)

 A small code for checking what is size of data type like  what is size of  'int'  or 'char' or etc The code is  // Date - 29/01/2022 #include < stdio.h >               int main () {     printf ( " %lu " , sizeof( double ));     return 0 ; }

Compiling Stages in C programming | How "Compilation" work

Image
There are four process for compiling  1- Preprocessing 2- Compilation 3- Assambly 4- Linking (5- Loading) 1) Preprocessing :-    esme hamare comments ko remove kiya jata hai.  Micros ko expand kiya jata hai. jitne bhi #include vale unke content ko utha kr ek file me save kr diya jata hai . ye .i file hoti hai  .i file me preprocess output hota hai. Comments:- Aise code jo excute n ho vo comment kahlate hai                         agr kisi line ke starting me '/' laga de to vo line excute nhi hoti hai 2) Compilation:-  assambly level instructiion me convert kiya jata hai yah .i file ko .s file me save krta hai 3) Assambly :-  .s file ko machine level instruction me convert kiya jata hai. yah .o file hoti hai aur ye machine level instruction hai 4)Linking :- Linker sari .o file ko combine kr ke ek excutive bana deta hai linker 2 trh ke hote hai :              ...

[#2] Adding two number [C - Language Programme] (codewithharry-#4)

  C - Language #2 Programme  [Adding two number] All Codes #include <stdio.h> int   main () {      int   a ,  b ;      printf ( "Enter number a \n " );      scanf ( "%d" , & a );      printf ( "Enter number b \n " );      scanf ( "%d" , & b );      printf ( "the sum is %d \n " ,  a + b );      return   0 ; } All Syntax (use in programme) "int a, b"  - do integer ko define kiya hua hai "Scanf"  - yah ek header file ka funtion hai . Ek hi value ko user se lene ke liye use hua hai. "&a"  -  adress of a "&a"  -  adress of b "\n"  -  New line character Click here to  Download  the file.

All Syntex Used in C - Language

   #include   <stdio.h> - eski help se Progrmme run krega. int main() - > es funtion se progrmme start hoti hai > "int" means integer hota hai.                       > [every funtion have return value].               > es funtion ke pass jo main funtion hai vo Int return krega                      And jo return krta hai vo OS ke pas jayega. Printf - > 'Printf' header file (#include<stdio.h>) se use hota hai > "printf" ka use Display pr print/show krta hai (Output). return 0 ; - agr sb thik hua to yeh OS ko zero{0} dega. "int a, b" - do integer ko define kiya hua hai "Scanf" - yah ek header file ka funtion hai . Ek hi value ko user se lene ke liye use hua hai. "&a" - adress of a. "&a" - adress of b. "\n" - New line character...

[#1] Hello World 1st programme [C - Language] (codewithharry-#3)

   [Day #1]  C - Language 1st programe {Hello World} First line  #include   <stdio.h> Use  -  eski help se Progrmme run krega. Second Line int   main() Use  -  es funtion se progrmme start hoti hai "int" means integer hota hai [every funtion have return value ] es funtion ke pass jo main funtion hai vo Int return krega And jo return krta hai vo OS ke pas jayega.  Third Line printf Use  -  'Printf'  header file (#include<stdio.h>) se use hota hai "printf"  ka use Display pr print/show krta hai (Output). Fourth line {last line} return   0 ; Use  -  agr sb thik hua to yeh OS ko zero{0} dega. Programmme End πŸ‘‰  All Codes  πŸ‘ˆ #include   <stdio.h> int   main ( int   argc ,  char   const  * argv [] ) {      printf ( "Hello WorlD \n " );      return   ...