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

get any number as input except 1 and the output will be
1.without using operators,expressions,array,structure.don't
print 1 in printf statement

Answer Posted / karna

void main()
{
int n;
printf("%d",scanf("%d",n));
getch();
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does double pointer mean in c?

1147


How would you obtain the current time and difference between two times?

1280


What do header files do?

1057


What is getch () for?

1201


When a c file is executed there are many files that are automatically opened what are they files?

1088


What is memory leak in c?

1111


Write a code on reverse string and its complexity.

1017


What is the explanation for prototype function in c?

960


What is bss in c?

1083


Is null always equal to 0(zero)?

1024


find the sum of two matrices and WAP for it.

1116


What are the 4 types of unions?

1023


What is a file descriptor in c?

1114


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1896


Why is c fast?

1043