منتديات المجاوشي

منتديات المجاوشي (http://www.vb.mjawshy.net/index.php)
-   Arabic Rss (http://www.vb.mjawshy.net/forumdisplay.php?f=41)
-   -   مبرمجي c ارجو الدخول للاهمية (http://www.vb.mjawshy.net/showthread.php?t=418063)

RSS 04-12-2014 12:04 AM

مبرمجي c ارجو الدخول للاهمية
 
مبرمجي لغة ال سي ارجو دراسة الكود التالي والاجابة على الاسئلة في الاسفل
ولو امكن " بعد الاجابة" الشرح المفصل





1- #include
2- int square( int);
3- int fact( int);
4- int f=1, y=1,z=1;
5- int main()
6- {
7- int x;
8- for(x=1 ;x


اجب عن الاسئلة التالية



(1) at the end of this program the value of x will be equal to:
a) 4
b) 16
c) 24





(2) at the end of this program the value of y will be equal to:
a) 4
b) 16
c) 24



(3) at the end of this program the value of z will be equal to:
a) 4
b) 16
c) 24


(4) the word square in this program refers to:
a) The name of the function
b) The name of a variable of type int
c) The name of the main program



(5) return 0:
a) indicates that main() returns a value of zero to the operating system.
b) is to change the values of the function’s parameter to zero.
c) Is to return to line number zero.



(6) in this program the functions are called by:
a) value
b) reference
c) by value and reference


(7) in this program there is no output:
d) true
e) false


(8) this program uses recursive functions:
a) true
b) false


</div>






أكثر...


الساعة الآن 02:16 PM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. منتديات بلاك بيري mjawshy.net
المجاوشي للتقنية المتقدمة