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:
String Concatenation
What will be printed as the result of the operation below:
main() {
char *p1;
char *p2;
p1=(char *)malloc(25);
p2=(char *)malloc(25);
strcpy(p1,"Cisco");
strcpy(p2,"systems");
strcat(p1,p2);
printf("%s",p1);
}
✍: FYIcenter
Answer: Ciscosystems
2007-02-26, 7936👍, 0💬
Popular Posts:
What is cross page posting? By default, button controls in ASP.NET pages post back to the same page ...
How To View All Columns in an Existing Table? - Oracle DBA FAQ - Managing Oracle Database Tables If ...
How To Export Data to an XML File? - Oracle DBA FAQ - Introduction to Oracle SQL Developer If you wa...
Example of using Regular Expressions for syntax checking in JavaScript ... var re = new RegExp("^(&a...
What is the difference between mysql_fetch_object() and mysql_fetch_array() functions in PHP? mysql_...