منتدي الشباب

هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

هذا المنتدي يسعى للوصول الى اظهار مواهب الطلاب وخلق بيئة ترفيهية مفيدة

مفــــــــــــاجأة الموسمlanregionألعاب شبكة_ألعاب كمبيوتر ومكتبة ميديا_صيانة بى سى ولاب توب _تصميم مواقع انترنتت : 0918265887 _ 0922302527الخرطوم 2 سوق نمرة 2 شارع عبد المنعم مقابل ريل بيرقر

2 مشترك

    Data Types In C Language

    Admin
    Admin
    Admin


    عدد الرسائل : 45
    الموقع : www.fasaha2005.webs.com
    تاريخ التسجيل : 19/02/2009

    Data Types In C Language Empty Data Types In C Language

    مُساهمة  Admin الجمعة فبراير 27, 2009 3:33 am

    What is the data types ?
    Data types are the building blocks of data structures.
    C language has a concept of 'data types' which are used to define a variable before its use. The definition of a variable will assign storage for the variable and define the type of data that will be held in the location. The value of a variable can be changed any time.
    1- The basic data types in c language:-
    * int ( for storing whole numbers - or integers)
    * float
    ( both for storing numbers with decimal precision - real or floating point numbers )
    * double
    * char ( for storing symbols – characters)
    1- int - data type
    int: is used to define integer numbers.
    Example:
    {
    int Count;
    Count = 5;
    }




    2- float - data type
    float: is used to define floating point numbers.
    Example:
    {
    float Miles;
    Miles = 5.6;
    }


    3- double - data type
    double: is used to define BIG floating point numbers. It reserves twice the storage for the number. On PCs this is likely to be 8 bytes.
    Example:
    {
    double Atoms;
    Atoms = 2500000;
    }









    4- char - data type
    char: is used to defines characters.
    Example:
    {
    char Letter;
    Letter = 'x';
    }




    2- The other data types in c language:-

    * signed char
    * unsigned char
    * short signed int
    * short unsigned int
    * long signed int
    * long unsigned int


    mohe7
    mohe7


    عدد الرسائل : 1
    العمر : 33
    تاريخ التسجيل : 08/03/2009

    Data Types In C Language Empty رد: Data Types In C Language

    مُساهمة  mohe7 الأحد مارس 08, 2009 2:47 pm

    nice man
    Admin
    Admin
    Admin


    عدد الرسائل : 45
    الموقع : www.fasaha2005.webs.com
    تاريخ التسجيل : 19/02/2009

    Data Types In C Language Empty رد: Data Types In C Language

    مُساهمة  Admin الأربعاء مارس 11, 2009 5:51 am

    Thanxxxxxxxxxxxxxxxxxx men

      مواضيع مماثلة

      -

      الوقت/التاريخ الآن هو الأربعاء مايو 01, 2024 5:59 pm