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()
{
int i;
printf("%d", &i)+1;
scanf("%d", i)-1;
}

Answer Posted / abhishek marshetty

Explanation: printf( ) prints address/garbage of i, scanf() dont have & sign, so scans address for i +1, -1 dont have any effect on code.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is queue in c?

1086


What is new line escape sequence?

1319


What is the g value paradox?

1153


What is the difference between typedef and #define?

1039


What does p mean in physics?

1026


Combinations of fibanocci prime series

1599


What is the use of linkage in c language?

1045


What are types of structure?

1102


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1336


What is a node in c?

967


What is array in c with example?

1226


What are pointers?

1089


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1319


What is the use of header?

1078


What header files do I need in order to define the standard library functions I use?

1042