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()
{
intx=2,y=6,z=6;
x=y=z;
printf(%d",x)
}

Answer Posted / krs

"intx=2" must be "int x=2".This is First error.
secondly there is a syntax error in printf();
So there is compile time error due to this code execution.

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a proram to reverse the string using switch case?

2884


Which one would you prefer - a macro or a function?

1034


Are the variables argc and argv are always local to main?

971


What is difference between static and global variable in c?

980


I have a varargs function which accepts a float parameter?

997


Explain output of printf("Hello World"-'A'+'B'); ?

1431


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3859


show how link list can be used to repersent the following polynomial i) 5x+2

2191


What are the string functions? List some string functions available in c.

949


ATM machine and railway reservation class/object diagram

5192


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1626


What is the difference between c &c++?

1087


What are the scope of static variables?

1117


how many key words availabel in c a) 28 b) 31 c) 32

1011


What is static function in c?

1065