printf("Enter a bunch of consecutive numbers and I'll read'em back to you. For example 123.\n"); fgets(nums,sizeof(nums),stdin); printf("##%c is nums[2]\n",nums[2]); // This always evaluates to NULL