whats are the main differences between functions in Haskell , python and c?
I know that haskell function can get a function as a parameter? is it only in haskell?
The fundamental difference between a Haskell function and a C function is in the fact that Haskell functions cannot have side effects. They cannot modify state when called and as such will return the same value when called repeatedly with the same parameters. This is not to say that you cannot have pure functions in C.
I would encourage you to read articles about functional programming and maybe a tutorial in Haskell to get a clearer idea about the subject.
whats are the main differences between functions in Haskell , python and c?