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, 6435👍, 0💬
Popular Posts:
What will be printed as the result of the operation below: main() { char s1[]="Cisco"; char s2[]="sy...
What is the method to customize columns in DataGrid? Use the template column.
How was XML handled during COM times? During COM it was done by using MSXML 4.0. So old languages li...
What are shared (VB.NET)/Static(C#) variables? Static/Shared classes are used when a class provides ...
Can Java object be locked down for exclusive use by a given thread? Yes. You can lock an object by p...