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 / nila
#include<stdio.h>
#include<conio.h>
main()
{
int a;
printf("Enter the number:");
scanf("%d",&a);
printf("1");
getch();
}
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
what are the facialities provided by you after the selection of the student.
Write a program for finding factorial of a number.
Can we replace the struct function in tree syntax with a union?
What would be an example of a structure analogous to structure c?
What do you know about the use of bit field?
What is identifiers in c with examples?
How many keywords are there in c?
explain what is fifo?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What is extern c used for?
How do I send escape sequences to control a terminal or other device?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
Explain two-dimensional array.
Explain how do you generate random numbers in c?