The number of subsets of $\{ 1,2,3 , \ldots , 10 \}$ having an odd number of elements is\\ (A) 1024\\ (B) 512\\ (C) 256\\ (D) 50 .