Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
Function Calls
What will be printed as the result of the operation below:
#define swap(a,b) a=a+b;b=a-b;a=a-b; void main() { int x=5, y=10; swap (x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a, int b) { int temp; temp=a; b=a; a=temp; return 0; }
✍: FYIcenter
2007-02-26, 6275👍, 0💬
Popular Posts:
How To Call a Sub Procedure? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions To...
What is XSLT? XSLT is a rule based language used to transform XML documents in to other file formats...
How do I use a scriptlet to initialize a newly instantiated bean? A jsp:useBean action may optionall...
Can an anonymous class be declared as implementing an interface and extending a class? An anonymous ...
What are unadjusted function points and how is it calculated? Unadjusted function points = ILF + EIF...