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

What is function and its example?

0 Answers  


What is the concatenation operator?

0 Answers  


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers  


How we can set and clear bit in a byte using macro function?

2 Answers   L&T, Samsung,


Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.

0 Answers  


Do you know pointer in c?

0 Answers  


Can you define which header file to include at compile time?

0 Answers   Aspire, Infogain,


write a c program to remove all the duplicate characters in a string and replace with single character? ex:-input- AAABBBCCC output- ABC

2 Answers   HCL,


what is difference between declaring the pointer as int and char in c language?

3 Answers  


1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.

2 Answers  


Can you please explain the difference between malloc() and calloc() function?

0 Answers  


What is d scanf?

0 Answers  


Categories