In ANSI C (CVI), you can do it several ways: either shift the upper word 16 bits to the left or multiply it by 2^16, then add that result to the lower word.
int upperWord, lowerWord, longWord;
// the following statements result in the same value:
longWord = (upperWord << 16) + lowerWord;
longWord = (upperWord * pow(2,16)) + lowerWord;