Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Which is first operating system?

1191


Why do I have x86 program file?

1045


What are the basic operations?

1163


What is the multi-treade and models (explain each models)?

3312


What are the steps of booting?

1153


How do I know when chkdsk is done?

1008


What do you understand by coding schemes?

1192


How long does it take to run chkdsk?

1049


Explain ftdisk in operating system (os)?

1142


Can you list the coffman's conditions that lead to a deadlock?

1177


Can you have 2 operating systems on one computer?

1029


Explain the basic concepts and hierarchy of memory?

1158


What are the thread states?

1101


How do I find system information?

1018


Is 100 cpu usage bad?

1049