M
Mr.InF3ction
Гостин
Forever_alone
Main функцијата ? па само ќе ја повикаш функцијтаа со некој број како влезен параметар.![Лолз :icon_lol: :icon_lol:](/styles/default/xenforo/emot/icon_lol.gif)
Main функцијата ? па само ќе ја повикаш функцијтаа со некој број како влезен параметар.
![Лолз :icon_lol: :icon_lol:](/styles/default/xenforo/emot/icon_lol.gif)
PHP:
#include <stdio.h>
int funkcija(unsigned int broj){
if(broj<=0)
return 0;
return broj%10 + (funkcija(broj/100));
}
int main(int argc, const char * argv[])
{
printf("%d",funkcija([SIZE=11px][FONT=lucida grande][COLOR=#333333]35987594[/COLOR][/FONT][/SIZE]);
}