get window width height glfw

#include <GLFW/glfw3.h>

int main()
{
    int width, height;
    GLFWwindow* window;

    glfwInit();
    window = glfwCreateWindow(640, 480, "Title", NULL, NULL);
    glfwGetFramebufferSize(window, &width, &height);

    while (!glfwWindowShouldClose(window))
    {
        // Render here

        glfwSwapBuffers(window);
        glfwPollEvents();
    }

    glfwTerminate();
    return 0;
}