hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which of the following is a commonly used compiler for compiling C++ programs?
    Question



    Which of the following is a commonly used compiler for compiling C++ programs?

    A.

    GCC (GNU Compiler Collection)

    B.

    JVM (Java Virtual Machine)

    C.

    CPython

    D.

    PyPy

    E.

    None of the above

    Correct option is A

    GCC (GNU Compiler Collection) is one of the most widely used compilers for C++ and other programming languages like C. It is open-source and supports various platforms, making it a popular choice for both development and learning.
    Example of compiling a C++ program:

    Important Key Points:
    1. GCC is part of the GNU Project and supports multiple languages, including C, C++, Objective-C, Fortran, Ada, and more.
    2. Clang, another widely used compiler, is part of the LLVM project and offers better diagnostics and modularity.
    3. Other proprietary compilers like Microsoft Visual C++ (MSVC) are used on Windows systems.
    Knowledge Booster:
    · JVM: Not a compiler but an environment to execute Java bytecode.
    · PyPy: A JIT (Just-In-Time) compiler for Python.
    · CPython: The standard Python interpreter, not related to C++ compilation.

    Free Tests

    Free
    Must Attempt
    Video Solutions

    RBI Assistant Pre 2026 Full Mock Test -01

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon60 Mins
    languageIcon English
    Free
    Must Attempt
    Video Solutions

    RBI Asst Prelims 2026 : Reasoning Section Test 01

    languageIcon English
    • pdpQsnIcon35 Questions
    • pdpsheetsIcon35 Marks
    • timerIcon20 Mins
    languageIcon English
    Free
    Must Attempt
    Video Solutions

    RBI Office Attendant 2026 Full Mock Test - 01

    languageIcon English
    • pdpQsnIcon120 Questions
    • pdpsheetsIcon120 Marks
    • timerIcon90 Mins
    languageIcon English
    test-prime-package

    Access ‘SEBI Grade-A Assistant Manager’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    353k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow