النتائج 31 إلى 45 من 124
الموضوع: دردشة عامة لأشياء مختلفة
- 29-09-2017, 11:13 PM #31
- 30-09-2017, 01:30 AM #32
- 30-09-2017, 01:34 AM #33
A union is a special data type available in C that allows to store different data types in the same memory location. You can define a union with many members, but only one member can contain a value at any given time. Unions provide an efficient way of using the same memory location for multiple-purpose.
- 30-09-2017, 01:37 AM #34
مرة ثانية:
You can define a union with many members, but only one member can contain a value at any given time
- 30-09-2017, 02:09 AM #35
Recursion
if a program allows you to call a function inside the same function, then it is called a recursive call of the function.
كود PHP:void recursion() {
recursion(); /* function calls itself */
}
Recursive functions are very useful to solve many mathematical problems, such as calculating the factorial of a number, generating Fibonacci series, etc.آخر تعديل بواسطة فيلسوف البادية ، 30-09-2017 الساعة 02:21 AM
- 30-09-2017, 02:14 AM #36
Recursion EXAMPLE: Fibonacci series
كود PHP:void OnStart()
{
int i;
for (i = 0; i < 10; i++) printf("%d\t\n", fibonacci(i));
}
int fibonacci(int i) {
if(i == 0) {
return 0;
}
if(i == 1) {
return 1;
}
return fibonacci(i-1) + fibonacci(i-2);
}
- 30-09-2017, 02:18 AM #37
- 30-09-2017, 05:41 AM #38
كيف تدمر بشكل تام جهاز اي متداول يستخدم اي نوع من البرامج التي تحول ملفات EX4 الى MQ4
- 30-09-2017, 05:57 AM #39
- 30-09-2017, 06:08 AM #40
الكود اسفل صحيح رغم اختلاف عدد ال arguments
يصبح خاطئ لو شلت ايا من الديفولت فااليوز
When you define a function, you can specify a default value for each of the last parameters. This value will be used if the corresponding argument is left blank when calling to the function.
This is done by using the assignment operator and assigning values for the arguments in the function definition. If a value for that parameter is not passed when the function is called, the default given value is used, but if a value is specified, this default value is ignored and the passed value is used instead.آخر تعديل بواسطة فيلسوف البادية ، 30-09-2017 الساعة 06:21 AM
- 30-09-2017, 08:21 AM #41
Instance variable in Java
A variable which is created inside the class but outside the method, is known as instance variable. Instance variable doesn't get memory at compile time. It gets memory at run time when object(instance) is created. That is why, it is known as instance variable.
- 30-09-2017, 09:00 AM #42
The four fundamental OOP concepts
inheritance
polymorphism
encapsulation
abstraction
- 30-09-2017, 09:34 AM #43
- 30-09-2017, 09:58 AM #44
- 30-09-2017, 10:00 AM #45