SAMIR UDDIN

Hello guys welcome to my web blog ,my very special blog gives you latest technical knowledges and I want to proviod you quality and short posts .If you need any type of posts please tell me in comment section,If anybody have some questions related to my posts please tell me at https://www.samirmd.blogspot.com https://www.youtube.com/channel/UC4k3h0R2H8HVSQqAbuYY27Q https://www.facebook.com/mdsamir.shaikh.948

Latest Tweets

LightBlog
Responsive Ads Here

Friday, August 4, 2017

Variable & Constant

Variable
§A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C has a specific  data type, which determines the size of the variable's memory.
§A variable is an entity that does change.
 Numeric VariableàUsed to stores either integer values or character  values. 
 Character Variableà Used to stores Alphabet or ASCII values.
§A variable cannot be type void.  
  int a    10
*Here int is a data type of variable a whose constant value is 10       
Constant   
§A constant is an identifier   whose value doesn't change during execution of program. 
§Numeric Integer
§IntegeràSequence of digits            //23 , 102 , 154 etc…
§Real    Ã A floating point type or fractional values.     // 3.7 , 6.45 , 34.65 etc… 
Character Integer 
§Singleà     ‘a’  ‘d’  ‘g’  ‘C’ etc….
§Stringà     “samir”   “Uddin”  
§Declaring Constant
§Count float pi=3.14                       
               C Programming Made Easy                                                                                                              


  
Operators in C Programming

Arithmetic operators

 Multiply(*)
 Divide(/)
 Addition(+)
 Subtraction(-)
 Modulus(%)

Relational operator

Less than(<)
Greater than(>)
Less than equal to(<=)
Greater than equal to(>=)

Equality operator 

Equal to(==)
Not equal to(!=)

Logical operator

Logical AND (&&) 
Logical OR (||)

Unary operator


Increment operator (++)   ,  Decrement operator  (--)
Eg/    x=i++=i+1                                    x=x--=x-1  
let i=5                                        let i=5
i++=i+1=5+1=6                           i--=i-1=5-1=4

Conditional operator


exp 1 ? exp 2 : exp 3

         eg/   Large=(a>b) ? a : b    //like a if-else condition

Assignment  operator

eg/  int x
  x=10;
  x=3,y=2;
  sum=x + y;      //x=5

Sizeof  operator

 Eg /   int a=10
                result= sizeof (a) ;     //result =2 byte

Bitwise operator

§Perform operation at the bit level like bitwise OR,bitwise AND,bitwise XOR etc
Eg   10101010   10101010=11111111

Keywords & Data Types
Keywords
§It is set of reserved words .
§It is basically  a sequence of characters that have a fixed meaning.
§There are 32 keywords are present in C programming.

Eg/    auto,break,continue,case ,default,if ,else,double,enum,goto,long return,union,static,signed,unsigned,switch and void etc….  
Data type
§int-àIt is used to store integer data type. Eg/  2,4,10….
§Floatà It is used to store floating data type. eg/ 0.5, 1.45….
§Char-à It is used to store set of strings or character data type  eg/ a,b,c…z



  User Defined Data Type
    §typedef: used to rename a data type
       eg/ typedef  int  integer-à  Can use integer to declare an int
   §enum, struct, union etc are some more data types.

Errors in C Programming

   §Compilation error
 Compiler generally gives the line number at which the error is present.
§Run Time
C programs are sequential making the debugging easier.




Thursday, August 3, 2017

How to capture/record your laptop or pc screen free using software

There are lots of software which provide us screen recording feature like "Microsoft Expression Encoder4,Filmora,camptesia etc.

Steps to download and install Microsoft Expression Encoder4 and record the screen

1.Firstly you should go to google chrome or Mozilla FireFox and search for Microsoft Expression Encoder4.


2.After the downloading you can install it and open the file then you may seen a small tab and make some basic setting for recording .






3.After you can  click on record button and record laptop screen according to your needs.  

  
           



4.after recording you can stop the recording by choosing the desktop botton.              




  5.After stop recording a small tab will appears and then you should go to "send to encoder .




                



6.After open the encoder software you may manage some settings and click on file then go to the encode the video







7.Encoding  may takes some time after that you can go your default directory or where you saved the project.







8.This video is very helpful for you you must watch this...    
   












                                                              YouTube knowledge
                                                                              

Wednesday, August 2, 2017

Basic Structure of C Programming
Documentation Section
Single line comment
           //Text……
Multi line comment
              /*Multi     

                    line comment*/
Link Section
§Header Files

 #include<x.hà where x is a header file like such as :
 string.h---àfor string handling function
          stdio.h ----àfor  standardized input and output functions
                       math.h ---àfor mathematical functions 
                      alloc.h ---àfor dynamic memory allocation
         conio.h --àfor clearing the screen
         stdlib.h --àfor some miscellneous functions
 Source Code file
Contain source code of the program 
Object Files
Generated by the compiler  as a result of processing the source code
Binary Executable File
Generated by the linker  as a result of production of binary files through the object     filesthat can be directly executed on Windows  operating system in .exe extension
Definition Section
Eg/ user define header file
          #define MAX 50 etc…  
*Here MAX is a constant whose value is 50
Global Declaration Section
When the declare the variable before the main function of program  
Main Section
§It consist of Declaration part and executable part of the program
§Eg/    main()
               {
                       declaration part // int a,char b,float c etc..
                       executable part //
                 }



Subprogramming Sectio
In sub programing section we may create a function for a particular task and call to main function.
             We may create more than one function in a single program
     §Eg /         Function1()
                             Function2()
                                     ………..FunctionN()  

Tuesday, August 1, 2017

History of C programing



In 1960 ALGOL-60 is developed in Cambridge university.In 1963 CPL(Combined programing language)In 1967 BCPL(Basic combined programing language ) developed by Martin Richards.In 1969 BCPL modified and developed B language as well as Unix operating system by the Ken Thompson in Bell laboratory.After that in 1972 Dennis Ritchie Developed c programing language at Bell laboratory ,he also co-developer of Unix operating system.Traditional C,K &R C,ANSI C,ANCI/ISO C,C95,C99 are the extensions of C programming language which updated time to time.