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

Is anything faster than c?

969


What is line in c preprocessor?

998


What is #define size in c?

1118


What are the different properties of variable number of arguments?

1103


What is register variable in c language?

987


What is signed and unsigned?

1014


Why do we use int main instead of void main in c?

1100


Explain output of printf("Hello World"-'A'+'B'); ?

1431


Explain what are header files and explain what are its uses in c programming?

1110


How pointer is different from array?

1018


How can you read a directory in a C program?

1095


Write a program to print numbers from 1 to 100 without using loop in c?

1027


Can true be a variable name in c?

986


How can you convert integers to binary or hexadecimal?

979


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

1016