Question

    What is the correct syntax to declare a variable in C?

    A data_type variable_name; Correct Answer Incorrect Answer
    B data_type as variable_name; Correct Answer Incorrect Answer
    C variable_name data_type; Correct Answer Incorrect Answer
    D variable_name as data_type; Correct Answer Incorrect Answer

    Solution

    data_type variable_name;

    Practice Next