
03-10-2011, 10:54 PM
|
|
|
تاريخ التسجيل: Aug 2010
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: ذكر
المشاركات: 205
|
|
واجب برمجه ومني فاهم ايش المطلوب
سلام عليكم ورحمه الله وبركاته
صباح مساء الخير ع حسب وقتكم
حبايبي استاذ البرمجه طلب مننا واجب
بس مني فاهم ايش المطلوب
يا ريت احد يشرحلي المطلوب
ما ابى الحل
بس فهموني
ومعلييش راح اتعبكم
كود PHP:
Step 1. Assuming that x and y are variables of type integer, what ambiguity exists in the following two statements? (Hint: If x starts with the value 3, will y in the first statement be assigned 9 or 11?) y = x + x + x++; ... y = x++ + x + x;
Step 2. Write a short program to discover what actually happens when these statements are executed? Record your program and your findings.
Step 3. Change the program you wrote in Step 2 to investigate the expressions x + x + ++x ++x + x + x x-- + x + x x + x + x--
Record your findings and explain them.
معلييش اذا كان السؤال واض ح
بس عشان غبت اسبوع كامل لظرووف
عشان كدا مو فاهم
مشكورين ولكم مني كل التقديم
|