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
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
Differentiate between the expression “++a” and “a++”?
please explain every phase in the "SDLC" in the dotnet.
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
what is stack , heap ,code segment,and data segment
What is zero based addressing?
What are the different data types in C?
What is d'n in c?
What is wild pointer in c with example?
What do you mean by Recursion Function?
Write a program to print fibonacci series using recursion?
why do some people write if(0 == x) instead of if(x == 0)?
How to write a code for reverse of string without using string functions?
What does & mean in scanf?
Can you please explain the difference between syntax vs logical error?