I tried this glitch, and it worked for me the first time I did it -
If you switch weapons really fast after completing a challenge for your primary, the XP will add on to your secondary also. Works best with Sleight of Hand Pro and a handgun. I used this glitch to level up my USP .45 all the way to level 10 with a 10k XP challenge on my Type 95.