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
What is exit() function?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
How can you call a function, given its name as a string?
Can you think of a logic behind the game minesweeper.
Can one function call another?
How many types of sorting are there in c?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Is it better to use malloc() or calloc()?
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.
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What is the meaning of 2d in c?
What do you understand by friend-functions? How are they used?
Explain null pointer.
What is a string?
Why void main is used in c?