No a co je array? Nikdo to tam nemáš definované.Funkci voláš s parametry a, b, ale nikde je nepoužíváš. K čemu teda jsou?