انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة
الكلية كلية العلوم للبنات
القسم قسم الحاسبات
المرحلة 2
أستاذ المادة اسراء عبد الله حسين علي الدليمي
13/05/2018 13:15:01
HEADER FILES:: printf() and scanf() functions are inbuilt library functions in C programming language which are available in C library by default. These functions are declared in “stdio.h” which is a header file in C language. In C programming language, printf() function is used to print the “character, string, float, integer, octal and hexadecimal values” in to the output screen whereas scanf() function is used to read character, string, numeric data from keyboard . Note:: C language is case sensitive. For example, printf() and scanf() are different from Printf() and Scanf(). All characters in printf() and scanf() functions must be in lower case.
TYPES IN C:: In C, there are three kinds of types that variables can have:: 1. Primary, 2. Derived, and 3.pointers. Half of the game in getting things right in C is keeping yourself from being confused about types. This lecture tries to elaborate on this a little. PRIMARY TYPES:: There are 6 Primary types in C: • char :: 1 byte • short :: 2 bytes • int :: 4 bytes • long :: 4 or 8 bytes, depending on the system and compiler • float :: 4 bytes • double :: 8 bytes
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم
|