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...


what is the answer for it
main()
{
int i;
clrscr();
printf("%d",&i)+1;
scanf("%d",i)-1;
}

Answers were Sorted based on User's Feedback



what is the answer for it main() { int i; clrscr(); printf("%d",&i)+1; scanf(&qu..

Answer / hari

it will print a garbage value..

for further queries and discussions, just check these out !!!

http://forum.campusmaniac.com/
http://www.campusmaniac.com/

Is This Answer Correct ?    2 Yes 1 No

what is the answer for it main() { int i; clrscr(); printf("%d",&i)+1; scanf(&qu..

Answer / saurabh shukla

it will print the memory adress of i

Is This Answer Correct ?    1 Yes 0 No

what is the answer for it main() { int i; clrscr(); printf("%d",&i)+1; scanf(&qu..

Answer / deepshree sinha

any garbage value of i because the value of i is not
initialised.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

write a c programs to do multiplication of two numbers with out using arithmatic operator ??????????

7 Answers   Infosys, TCS,


The statement, int(*x[]) () what does in indicate?

0 Answers  


which operator having highest precedence? a.)+ b.)++ c.)= d.)%

4 Answers  


Explain what does a function declared as pascal do differently?

0 Answers  


Is exit(status) truly equivalent to returning the same status from main?

0 Answers  


how to find the size of the data type like int,float without using the sizeof operator?

13 Answers  


write a c program to find the roots of a quadratic equation ax2 + bx + c = 0

11 Answers   CSC, St Marys, TATA,


What is floating point constants?

0 Answers  


Write a program to find whether the given number is prime or not?

6 Answers  


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

0 Answers  


what will be the output of" printf("%d%d",scanf("%d% d",&a&b));"

4 Answers  


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

0 Answers  


Categories