main()
{
charstr1="prakash";
charstr2="raju";
Str1=str2;
printf("\n%d",str1);
}

Answer Posted / kk

Error
An array of string cannot be directly assigned to other;
soln: char *str1="prakash"
char *str2="raju"
str1=str2;

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current microsoft operating system?

545


Explain arm-stickiness?

577


How much ram can a 64 bit os use?

453


What does af_inet stand for?

676


What is the most used operating system in the world?

513






Does direct memory manipulation is an unsafe operations, if yes, how?

565


How many stages are there in chkdsk?

548


How does gcd work?

565


How do I search all files in windows?

475


Does android run on x86?

546


How you can check whether a machine is 64 bit or 32 bit?

562


How do I update in terminal?

573


How can a vfs layer allow multiple file systems support?

540


How do I find system information?

546


What is the virtual memory?

548