in Education by

Which keyword is used to define the macros in c++?

a) #macro
b) #define
c) macro
d) define

1 Answer

0 votes
by

Answer: b
Explanation: #define is the keyword that is used to define the macros in c++.

Related questions

0 votes
    Which of the following is used to terminate the function declaration in C++? a) ; b) ] c) ) d) :...
asked Oct 19, 2022 in Education by JackTerrance
0 votes
    Which is more effective while calling the C++ functions? a) call by object b) call by pointer c) call by value d) call by reference...
asked Oct 19, 2022 in Education by JackTerrance
0 votes
    Which of the following correctly declares an array in C++? a) array{10}; b) array array[10]; c) int array; d) int array[10];...
asked Oct 19, 2022 in Education by JackTerrance
0 votes
    What is the use of the indentation in c++? a) r distinguishes between comments and inner data b) distinguishes ... and code d) r distinguishes between comments and outer data...
asked Oct 19, 2022 in Education by JackTerrance
0 votes
    What will be the output of the following C++ code? #include using namespace std; int main () { int cin; cin ... fault b) Nothing is printed c) Error d) cin: garbage value...
asked Oct 19, 2022 by JackTerrance
0 votes
    What is the size of wchar_t in C++? a) Based on the number of bits in the system b) 2 or 4 c) 4 d) 2...
asked Oct 19, 2022 in Education by JackTerrance
0 votes
    Which keyword is used to define the function in javascript? (a) void (b) int (c) function (d) ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    As far as I know, in gcc you can write something like: #define DBGPRINT(fmt...) printf(fmt); Is ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 24, 2022 in Education by JackTerrance
0 votes
    When the macros gets expanded in C?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    macros is present under _______ tab (2010) ••view ••review ••references Select the correct answer from above options...
asked Dec 15, 2021 in Education by JackTerrance
0 votes
    How is free keyword work in C?...
asked Jan 24, 2021 in Technology by JackTerrance
0 votes
    What is use of keyword auto C Programming?...
asked Jan 17, 2021 in Technology by JackTerrance
+1 vote
    What is the purpose of the keyword typedef in C Progamming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    What are the valid places for the keyword break to appear in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    What is keyword auto for in C-programming?...
asked Nov 9, 2020 in Technology by JackTerrance
...