Disply computer Name

#include <windows.h>
#include <stdio.h>
#include<conio.h>
#define INFO_BUFFER_SIZE 32767

int main(){
WCHAR infoBuf[INFO_BUFFER_SIZE];
DWORD bufCharCount = INFO_BUFFER_SIZE;
// Get and display the name of the computer.
bufCharCount = INFO_BUFFER_SIZE;
if(!GetComputerName( infoBuf, &bufCharCount))
puts("GetComputerName()");
printf("\nComputer name: %s", infoBuf);
getch();
}