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

Is 64bit better than 32bit?

952


Define page fault interrupt?

1103


What are operating system services?

1032


What is memory-management unit (mmu)?

1029


Explain the concept of the timesharing operating systems?

1009


What is a mission critical system?

2287


What is the difference between 16 bit and 32 bit?

879


What is the limit of ram capacity in a 32bit os?

1001


What are dynamic loading?

1044


What is the trtw/trwt timing?

1091


What are the different memories you know about? Which of them takes the shortest access time?

1084


Tell us something about mutex.

1041


Explain the resident set and working set of a process?

987


Which intel processor is 64 bit?

858


What is context-switching in multi-threading?

1095