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 exit() function?

559


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2299


How can you call a function, given its name as a string?

710


Can you think of a logic behind the game minesweeper.

2004


Can one function call another?

624






How many types of sorting are there in c?

604


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

1765


Is it better to use malloc() or calloc()?

645


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2264


Write a code to determine the total number of stops an elevator would take to serve N number of people.

725


What is the meaning of 2d in c?

607


What do you understand by friend-functions? How are they used?

641


Explain null pointer.

615


What is a string?

664


Why void main is used in c?

559