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

When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1988


Do array subscripts always start with zero?

1307


What is variable in c example?

1079


What is #include called?

1064


Can you add pointers together? Why would you?

1130


What is strcpy() function?

1171


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1728


write a program in c language to print your bio-data on the screen by using functions.

6789


What does %2f mean in c?

1226


what does static variable mean?

1115


What does the c in ctime mean?

1099


What are the different file extensions involved when programming in C?

1287


What is a const pointer in c?

1132


What is array of pointers to string?

1095


What does %c do in c?

995