Vector valued functions not constant on connected sets of critical   points
  Whitney type examples of maps $f\in C^k(\real^m,\real^n)$ for a maximal possible real $k$, and multidimensional space-filling curves with special properties are constructed. 
Azat Ainouline