Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Function Calls
What will be printed as the resultof the operation below:
int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }
✍: FYIcenter
Answer: 12 , 13 , 13
2007-02-26, 6534👍, 0💬
Popular Posts:
What will the following piece of code do? int f(unsigned int x) { int i; for (i=0; x!=0; x>&a...
What is ISO? ISO 9000 is a family of standards for quality management systems. ISO 9000 is maintaine...
What are the five levels in CMMI? There are five levels of the CMM. According to the SEI, Level 1 – ...
If we have multiple AFTER Triggers on table how can we define the sequence of the triggers ? If a ta...
what are the advantages of hosting WCF Services in IIS as compared to self hosting? There are two ma...