directives

directives

#include "stdafx.h"
#include<conio.h>
# define PRODUCT(x)(x*x)
int _tmain(int argc, _TCHAR* argv[])
{   
 int i=3,j,k,l;
 j=PRODUCT(i+1);
 k=PRODUCT(i++);
 l=PRODUCT(++i);
 printf("%d %d %d %d\n",i,j,k,l);
 getch();
 return 0;
}
Output : 7 7 9  49
what is the the logic behind this? 
I dont know the proper reason. Please explain it .
View Answers

Ads









Related Tutorials/Questions & Answers:
directives
JSPs : Directives
JSPs : Directives This section contains the description of Directives which is one of JSPs components. Directives : A directives tag always appears.... Directives contain special processing instructions for the web container. You can
Advertisements
JSPs : taglib Directives
JSPs : taglib Directives In this section we are going to discuss the taglib directives which is one part of Directives. taglib Directives : Taglib directive is one of directive of JSP pages. It defines the tag library which
JSPs : include Directives
JSPs : include Directives In this section we are going to discuss the include directives which is one part of Directives. include Directives : Functionality of include directives is to include a file at the time of page
JSPs : Page Directives
JSPs : Page Directives In this section we are going to discuss the page directives which is one part of Directives. page Directives : Functionality.... In general we write page directives at the top of the JSP page. page is used
ModuleNotFoundError: No module named 'pygal_sphinx_directives'
ModuleNotFoundError: No module named 'pygal_sphinx_directives'  Hi...: No module named 'pygal_sphinx_directives' How to remove the ModuleNotFoundError: No module named 'pygal_sphinx_directives' error? Thanks   
ModuleNotFoundError: No module named 'pygal_sphinx_directives'
ModuleNotFoundError: No module named 'pygal_sphinx_directives'  Hi...: No module named 'pygal_sphinx_directives' How to remove the ModuleNotFoundError: No module named 'pygal_sphinx_directives' error? Thanks   
JSP Directives and HTML tags
JSP Directives and HTML tags       JSP directives are as a message from a JSP page... directives control how the JSP compiler generates the servlet. Actually a directive
Introduction to JSP tags JSP Directives
JSP Tutorial
objects in JSP, JSP Scriptlets, JSP directives, Actions in JSP. What is JSP ? JSP... declaration tag fields and methods is to be declared. JSP directives JSP supports
JSP
What are JSP directives, page directives and include directives?  what are jsp directives? and what are page directives? and what are include directives? can you explain taglib directives?   JSP directives JSP
JSP Components
- Directives Declarations Scriptlets Comments Expressions Directives : A directives tag always appears at the top of your JSP file. It is global definition sent to the JSP engine. Directives contain special processing instructions
Objective-C keywords
of keyword. These keyword are called Compiler Directives.   Directives used... of instance variables. Exception handling directives. Directive... is the result of concatenating the strings specified in the two directives
servlets
explain the concept of ssi servlets  explain the concept of ssi   Server Side Includes (SSI) are commands and directives placed in Web... pages to add one or more files into a web page and come out with given directives
plz help me - Java Beginners
: //import statment for java.sql.* using directives
Unable to execute JSP page
Unable to execute JSP page  I have written one jsp file. It contains html tags and jsp directives. I have saved the file with the extension .jsp. The tomcat server is already running onto my machine. I have saved the jsp file
JSP
JSP  what is the difference between javabeans and taglib directives   JavaBeans and taglib fundamentals were introduced for reusability. But following are the major differences between them:- 1)Taglib
Page Directive attribute - contentType
- For XML documents for jsp, we will use following page directives - <%@ page... directives - <%@ page contentType="text/html" %> For Microsoft Word document, we will use following page directives - <%@ page contentType
PHP ini
directives reside in memory until a new Apache process has been started... In the earlier versions of PHP, you could admit the configuration directives as Apache directives in either httpd.conf or .htaccess files. From PHP version 4.x
Servlets vs JSP - JSP-Servlet
, JSP elements, and JSP directives while servlet is totally uses java code. 3
JavaServer Pages (JSP) Roseindia
into: JSP Directives JSP directives are messages by JSP to JSP container... directives affect a particular JSP file. JSP Directives are characterized by the @ character within the tag There are 3 JSP Directives: page include
Page Directive attribute - language
directives. <%@page language="java"%> <html> <
Key Reasons to Use Angular for Web App Development
directives to build an app faster without really compromising on user experience... binding, API client integration, routing, form validation, filters, directives... efforts and development time. Declarative coding and directives Angular
Exception handling in Objective-C
on. These are four compiler directives that are used for exception handling- 1. @try: block
Directive Tags
Directive Tags       The directive tag provides additional information to the JSP Engine regarding the jsp page. JSP directives change the way JSP Engine processes the page
How to get the data from the database (Oracle) in console or in ie using servlet or jsp as Front end
; Dont worry abut the Implementing of JSP Directives ,ihave given correctly But now
JasperException: Exception in JSP
")); 25: %> 26: <h4>using useBean and other directives:</h4>
Page Directive attribute - info
Page Directive attribute - info This tutorial  contains description of info attribute of page Directive. info Attribute : info attribute of page directives sets the information of the JSP page which can be retrieved later
Page Directive attribute - isThreadSafe
Page Directive attribute - isThreadSafe This tutorial  contains description of isThreadSafe attribute of page Directive. isThreadSafe Attribute : isThreadSafe attribute is one of attribute of page directives. It is used
The Page Directive in JSP Page
of the JSP page which works for the entire JSP page. These directives apply different.... by using the different attributes of the directives. There are three types of directives are as follows: Page Directive Include Directive Taglib Directive
Advance Java training topics
; JSP and Servlets Explain the use of directives on JSPs. Implement... Architecture Page Translation Directives Buffering Scripting

Ads