Thursday, September 5, 2019

Some Required Symbols in C Language|String Symbols| About Variable|Data Types These are crucial in C Language

 === Some Required symboles ===
    1. %d integer
    2. %c character
    3. %f float
    4. %s String
    5. %u unsigned
    6. %x hexa decimal
    7. %0x    Octadecimal

    === Some string symboles  ===
     1. \n  Next Line
     2. \t Horizantal Tab
     3. \v vertical Tab
     4. \' For single quote
     5. \" double quotes
     6. \\ for backslash
     7. \f form fill
      etc


      ====      variables    ====
      -- is the name of the space which is alocated into the memory.
           OR
      -- is a container which hold a specific value.
           OR
      -- is that whose value may vary with in a program.

      ===       Type of variable    ===
      1. global variable -- The variable which is declared  outside any function.
      2. local variable --  The variable which is declared in side a specific function.
      3. static variable -- The variable which is declared as static know as static variable.
  it get's memory only once.
      4. constant variable -- whose value never change.

       === Declaration of a variable  ===
       DataType variableName ;
       int x; // 4 bytes
       float y; // 4 bytes
       char z; //2 bytes
       long l;  // 8 bytes
       double d; // 8 bytes
       etc;

       === Declaration of the multiple variable ===
       DataType v1, v2,v3,..... vn;
       int x,y,z,.....n;

        === Assignment of a Variable ===
        variable = value;
        x=5;
        y=5.5;
        z='A'
        l=10000000000;
        d=222222222.3333333333;
        ==== Multiple assignment ====
        v1=v2=v3=vn;
        v1=v2=v3=5;


        ===   Data Type : ===
         -- Every type of data have associated with a specific type that is know as Data Type.
        1. pre- defined : byte, short,int, float ,char ,long, double, etc.
        2. User -defined: arry, enum, struct, union etc.

     

CCA (Certificate in Computer Application)

 CCA (Certificate in Computer Application) It is 3 moth course . Paint  Notepad Word Pad MS Word MS Excel MS Power Point Q ) What is Comp...