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, 7933👍, 0💬
Popular Posts:
How can I show HTML examples without them being interpreted as part of my document? Within the HTML ...
How Can we change priority & what levels of priority are provided by Dot Net? Thread Priority ca...
What exactly happens when ASPX page is requested from Browser? Note: - Here the interviewer is expec...
Which bit wise operator is suitable for turning off a particular bit in a number? The bitwise AND op...
.NET INTERVIEW QUESTIONS - Did VB6 support multi-threading ? While VB6 supports multiple single-thre...