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 is the hardest programming language?

1103


Does * p ++ increment p or what it points to?

1057


How can I prevent another program from modifying part of a file that I am modifying?

1012


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2335


Why static is used in c?

1035


What are unions in c?

980


What is #define size in c?

1122


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2188


How does free() know explain how much memory to release?

1015


Why main is used in c?

1014


What is c programing language?

1047


What are near, far and huge pointers?

1015


‎How to define structures? · ‎

1036


What is struct node in c?

1024


i have a written test for microland please give me test pattern

2667