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, 8192👍, 0💬
Popular Posts:
If we inherit a class do the private variables also get inherited ? Yes, the variables are inherited...
What is the concept of XPOINTER? XPOINTER is used to locate data within XML document. XPOINTER can p...
What is the purpose of Replication ? Replication is way of keeping data synchronized in multiple dat...
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon...
How to make elements invisible? Change the "visibility" attribute of the style object associated wit...