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


Please Help Members By Posting Answers For Below Questions

Explain the typical elements of a process image?

571


Explain the positioning time for a disk.

586


How do I search in terminal?

649


What are short-term, long-term and medium-term scheduling?

579


Explain translation lookaside buffer?

750






Can you access a variable within a worker thread from the main thread?

543


What are a virtual machines and site their advantages?

632


How do I unhide a file?

600


What does it mean to restore default settings?

497


Why partitioning and formatting is a prerequisite to installing an operating system?

981


What join() method does?

618


What is the use of chkdsk f?

534


What is the shortest definition of os?

632


What is the x86 folder?

533


What is bursting?

574