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

input may any number except 1,output will always 1..
conditions only one variable should be declare,don't use
operators,expressions,array,structure

Answer Posted / kesavalu

#include<stdio.h>
#include<conio.h>
main()
{
int d;
printf("enter any no except 1");
scanf("%d",&d);
clrscr();
printf("1");
getch();
}

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between fread buffer() and fwrite buffer()?

1224


How can I get random integers in a certain range?

1125


Explain what is the difference between the expression '++a' and 'a++'?

1262


What is %d used for?

1088


What is difference between structure and union with example?

1121


What is the use of f in c?

1031


What happens if you free a pointer twice?

1134


What is the difference between malloc calloc and realloc in c?

1187


What is the purpose of & in scanf?

1120


How can you find the exact size of a data type in c?

1044


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

1340


What is sizeof return in c?

1086


what are the advantages of a macro over a function?

1191


Write a program to reverse a linked list in c.

1179


Write a program which returns the first non repetitive character in the string?

1171