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 do you mean by a local block?
What is #include cctype?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
explain what are actual arguments?
What is #include stdio h and #include conio h?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Can math operations be performed on a void pointer?
Why pointers are used in c?
Explain bitwise shift operators?
What is union in c?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What are the different types of data structures in c?
Is there any possibility to create customized header file with c programming language?
How can you invoke another program from within a C program?