macros

macros

this is the one program, sir i want the output for this:

include
include
define SQUARE(x) x*x
int main() {
int i = 2;
int j= SQUARE(i);
printf("The value of j is: %d\n", j);
getch();
return 0;
}
what is the output?

View Answers

February 2, 2011 at 4:12 PM

Hi Friend,

Output will be 4.

Macros are the identifiers that represent statements or expressions. The code define a macro i.e SQUARE(x) x*x. It will determine the square of the given number.

Thanks









Related Tutorials/Questions & Answers:
macros
Friend, Output will be 4. Macros are the identifiers
ModuleNotFoundError: No module named 'macros'
ModuleNotFoundError: No module named 'macros'  Hi, My Python... 'macros' How to remove the ModuleNotFoundError: No module named 'macros'... to install padas library. You can install macros python with following command
Advertisements
ModuleNotFoundError: No module named 'django-macros'
ModuleNotFoundError: No module named 'django-macros'  Hi, My... 'django-macros' How to remove the ModuleNotFoundError: No module named 'django-macros' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'flask-macros'
ModuleNotFoundError: No module named 'flask-macros'  Hi, My Python... 'flask-macros' How to remove the ModuleNotFoundError: No module named 'flask-macros' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'github-macros'
ModuleNotFoundError: No module named 'github-macros'  Hi, My... 'github-macros' How to remove the ModuleNotFoundError: No module named 'github-macros' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'markdown-macros'
ModuleNotFoundError: No module named 'markdown-macros'  Hi, My... named 'markdown-macros' How to remove the ModuleNotFoundError: No module named 'markdown-macros' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'str-macros'
ModuleNotFoundError: No module named 'str-macros'  Hi, My Python... 'str-macros' How to remove the ModuleNotFoundError: No module named 'str-macros' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'django-macros'
ModuleNotFoundError: No module named 'django-macros'  Hi, My... 'django-macros' How to remove the ModuleNotFoundError: No module named 'django-macros' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'flask-macros'
ModuleNotFoundError: No module named 'flask-macros'  Hi, My Python... 'flask-macros' How to remove the ModuleNotFoundError: No module named 'flask-macros' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'github-macros'
ModuleNotFoundError: No module named 'github-macros'  Hi, My... 'github-macros' How to remove the ModuleNotFoundError: No module named 'github-macros' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'invisibleroads-macros'
ModuleNotFoundError: No module named 'invisibleroads-macros'  Hi...: No module named 'invisibleroads-macros' How to remove the ModuleNotFoundError: No module named 'invisibleroads-macros' error? Thanks   Hi
ModuleNotFoundError: No module named 'django-macros-url'
ModuleNotFoundError: No module named 'django-macros-url'  Hi, My... named 'django-macros-url' How to remove the ModuleNotFoundError: No module named 'django-macros-url' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'gazest-extra-macros'
ModuleNotFoundError: No module named 'gazest-extra-macros'  Hi, My... named 'gazest-extra-macros' How to remove the ModuleNotFoundError: No module named 'gazest-extra-macros' error? Thanks   Hi
ModuleNotFoundError: No module named 'invisibleroads-macros-configuration'
ModuleNotFoundError: No module named 'invisibleroads-macros-configuration' ...: ModuleNotFoundError: No module named 'invisibleroads-macros-configuration' How to remove the ModuleNotFoundError: No module named 'invisibleroads-macros
ModuleNotFoundError: No module named 'mkdocs-macros-plugin'
ModuleNotFoundError: No module named 'mkdocs-macros-plugin'  Hi...: No module named 'mkdocs-macros-plugin' How to remove the ModuleNotFoundError: No module named 'mkdocs-macros-plugin' error? Thanks   Hi
ModuleNotFoundError: No module named 'requests-html-macros'
ModuleNotFoundError: No module named 'requests-html-macros'  Hi...: No module named 'requests-html-macros' How to remove the ModuleNotFoundError: No module named 'requests-html-macros' error? Thanks   Hi
ModuleNotFoundError: No module named 'useurmind-mkdocs-macros-plugin'
ModuleNotFoundError: No module named 'useurmind-mkdocs-macros-plugin' ...: No module named 'useurmind-mkdocs-macros-plugin' How to remove the ModuleNotFoundError: No module named 'useurmind-mkdocs-macros-plugin' error
ModuleNotFoundError: No module named 'useurmind-mkdocs-macros-plugin'
ModuleNotFoundError: No module named 'useurmind-mkdocs-macros-plugin' ...: No module named 'useurmind-mkdocs-macros-plugin' How to remove the ModuleNotFoundError: No module named 'useurmind-mkdocs-macros-plugin' error
ModuleNotFoundError: No module named 'django-macros-url'
ModuleNotFoundError: No module named 'django-macros-url'  Hi, My... named 'django-macros-url' How to remove the ModuleNotFoundError: No module named 'django-macros-url' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'django-templates-macros'
ModuleNotFoundError: No module named 'django-templates-macros'  Hi...: No module named 'django-templates-macros' How to remove the ModuleNotFoundError: No module named 'django-templates-macros' error? Thanks   
ModuleNotFoundError: No module named 'gazest-extra-macros'
ModuleNotFoundError: No module named 'gazest-extra-macros'  Hi, My... named 'gazest-extra-macros' How to remove the ModuleNotFoundError: No module named 'gazest-extra-macros' error? Thanks   Hi
ModuleNotFoundError: No module named 'invisibleroads-macros-configuration'
ModuleNotFoundError: No module named 'invisibleroads-macros-configuration' ...: ModuleNotFoundError: No module named 'invisibleroads-macros-configuration' How to remove the ModuleNotFoundError: No module named 'invisibleroads-macros
ModuleNotFoundError: No module named 'invisibleroads-macros-descriptor'
ModuleNotFoundError: No module named 'invisibleroads-macros-descriptor' ...: ModuleNotFoundError: No module named 'invisibleroads-macros-descriptor' How to remove the ModuleNotFoundError: No module named 'invisibleroads-macros-descriptor'
ModuleNotFoundError: No module named 'invisibleroads-macros-disk'
ModuleNotFoundError: No module named 'invisibleroads-macros-disk'  Hi...: No module named 'invisibleroads-macros-disk' How to remove the ModuleNotFoundError: No module named 'invisibleroads-macros-disk' error? Thanks
ModuleNotFoundError: No module named 'invisibleroads-macros-log'
ModuleNotFoundError: No module named 'invisibleroads-macros-log'  Hi...: No module named 'invisibleroads-macros-log' How to remove the ModuleNotFoundError: No module named 'invisibleroads-macros-log' error? Thanks  
ModuleNotFoundError: No module named 'invisibleroads-macros-security'
ModuleNotFoundError: No module named 'invisibleroads-macros-security' ...: No module named 'invisibleroads-macros-security' How to remove the ModuleNotFoundError: No module named 'invisibleroads-macros-security' error
ModuleNotFoundError: No module named 'invisibleroads-macros-text'
ModuleNotFoundError: No module named 'invisibleroads-macros-text'  Hi...: No module named 'invisibleroads-macros-text' How to remove the ModuleNotFoundError: No module named 'invisibleroads-macros-text' error? Thanks
Version of com.gu>content-api-models-macros dependency
List of Version of com.gu>content-api-models-macros dependency
Maven Repository/Dependency: io.joern | macros
Maven Repository/Dependency of Group ID io.joern and Artifact ID macros. Latest version of io.joern:macros dependencies. # Version Release Date You can read more at: Maven
Maven Repository/Dependency: com.softwaremill.macwire | macros
Maven Repository/Dependency of Group ID com.softwaremill.macwire and Artifact ID macros. Latest version of com.softwaremill.macwire:macros dependencies. # Version Release Date You can
Maven Repository/Dependency: com.avsystem.commons | commons-macros
Maven Repository/Dependency of Group ID com.avsystem.commons and Artifact ID commons-macros. Latest version of com.avsystem.commons:commons-macros dependencies. # Version Release Date You
Maven Repository/Dependency: ai.catboost | catboost-spark-macros
Maven Repository/Dependency of Group ID ai.catboost and Artifact ID catboost-spark-macros. Latest version of ai.catboost:catboost-spark-macros dependencies. # Version Release Date You can
Maven Dependency content-api-models-macros >> 10.0
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.0 in your project
Maven Dependency content-api-models-macros >> 10.1
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.1 in your project
Maven Dependency content-api-models-macros >> 10.10
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.10 in your project
Maven Dependency content-api-models-macros >> 10.11
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.11 in your project
Maven Dependency content-api-models-macros >> 10.12
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.12 in your project
Maven Dependency content-api-models-macros >> 10.13
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.13 in your project
Maven Dependency content-api-models-macros >> 10.14
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.14 in your project
Maven Dependency content-api-models-macros >> 10.15
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.15 in your project
Maven Dependency content-api-models-macros >> 10.16
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.16 in your project
Maven Dependency content-api-models-macros >> 10.17
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.17 in your project
Maven Dependency content-api-models-macros >> 10.18
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.18 in your project
Maven Dependency content-api-models-macros >> 10.19
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.19 in your project
Maven Dependency content-api-models-macros >> 10.2
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.2 in your project
Maven Dependency content-api-models-macros >> 10.20
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.20 in your project
Maven Dependency content-api-models-macros >> 10.21
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.21 in your project
Maven Dependency content-api-models-macros >> 10.22
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.22 in your project
Maven Dependency content-api-models-macros >> 10.23
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.23 in your project
Maven Dependency content-api-models-macros >> 10.24
You should include the dependency code given in this page to add Maven Dependency of com.gu >> content-api-models-macros version10.24 in your project

Ads