Sign In
Sign Up
Sign Up
Sign In
Email :
Password :
Forget Password
Enter your email to reset the password
Full Name :
Email :
Password :
Re-type Password:
Country:
Account Exists
Your account has been shared, sign in now
We have Found an existing account with
,
If you're owner of the account you can share that account with
, by accepting our
.
Email
Password
Home
Login/Register
About Us
Contact Us
Home
Categories
Companies
Top Rated
Recently Added
Beat High Score
By Category
By Company
Home
»
Categories
»
C
»
Find the output for the following C progra
Find the output for the following C progra
0
Find the output for the following C program
main()
{
char *p1="Name";
char *p2;
p2=(char *)malloc(20);
while(*p2++=*p1++);
printf("%s\n",p2);
}
Asked By :
yamuna
Categories :
C
,
Technical
,
HP
Answer:
An empty string
Post Your Answer
Previous Question
Next Question
Related Questions
āCā language is a
Find the output
Predict the output of the program
Predict the output
The format specifier "-%d" is used for which purpose in C