get windows size in opengl

i have to display the window size of the current open window by printing the size in it. how do i do it? what opengl/glut functions do i use? i also have reshapefunc in my program. i can also use that to get the size, but i dont know how. thanks for yr help.