main()
{
charstr1="prakash";
charstr2="raju";
Str1=str2;
printf("\n%d",str1);
}
Answer Posted / kas
well the program will run finely ... with some warnings
of course ...
This is what I got as "out put" of the program using Fedora13...
Warning: multi-character character constant
In function 'main'
Warning: overflow in implicit constant conversion ...
But the RESULT was given as the ASCII of the last character
of the second string ..
That is in this case the answer will be "117";
Hope it helps ... :D
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do I make a bootable usb drive?
Explain the concept of deadlocks? Why they are used?
How can I make usb bootable?
Who invented os?
Describe Recovery from Deadlock?
How do I see all files on my mac?
How does reference counting manage memory allocated objects?
What is trcd timing?
What is interprocess communication in os?
what are the softwares helping for auditing poblems?
What resources are used when a thread created? How do they differ from those when a process is created?
How do you kill pid?
What is belady's anomaly?
What is the cause of thrashing? How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?
What is a sector?