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

How does selection sort work in c?

1042


What is a function simple definition?

1097


What kind of structure is a house?

1048


All technical questions

1992


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

1108


What is a void pointer? When is a void pointer used?

1062


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

2156


Difference between constant pointer and pointer to a constant.

1150


What is #include conio h?

1002


Why c is called top down?

1165


Define Spanning-Tree Protocol (STP)

1135


What is the best style for code layout in c?

1102


Differentiate between the expression “++a” and “a++”?

1254


Should a function contain a return statement if it does not return a value?

1080


What is the difference between exit() and _exit() function in c?

1076