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

Explain the positioning time for a disk.

1090


What does echo $$ do?

963


Will chkdsk fix bad sectors?

962


What is system unit?

1007


When did 64 bit come out?

1031


What are the ways in which fault tolerance can be ensured in systems? (Different redundancy techniques)?

1212


Can you install a 32bit program on a 64 bit computer?

912


Do I need both program files and program files x86?

948


What is Direct Access Method?

1095


What do you mean by ram?

1020


Explain booting the system in operating system.

1042


What are the different types of kernel?

1075


What is the difference between a file and a directory?

1094


Does grep ignore case?

1016


What is the most used operating system?

1028