C++ How to Program (10th Edition)
C++ How to Program (10th Edition)
10th Edition
ISBN: 9780134448237
Author: Paul J. Deitel, Harvey Deitel
Publisher: PEARSON
Question
Book Icon
Chapter E, Problem E.12E
Program Plan Intro

#define SQR(x) x* x:

when preprocessor expands this macros it will produce the square of the suppiled number correctely and will not give any error.

#define SQR(x) (x*x):

when preprocessor expands this macros it will produce the square of the suppiled number correctely and will not give any error.

Blurred answer
Students have asked these similar questions
Using C language and using pointers
Create a C++ program for the following cases: Required: 1. Program Plan 2. Algorithm 3. Flowchart 4. Pseudocode 5. Iteration Table 6. Sample Run
Please help me with this C programming. Thank you.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
  • Text book image
    Systems Architecture
    Computer Science
    ISBN:9781305080195
    Author:Stephen D. Burd
    Publisher:Cengage Learning
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning