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 / dana
#include<stdio.h>
#include<conio.h>
main()
{
int x;
printf{"enter the num ",x);
scanf("%d",&x);
if(x!=1)
printf("1");
else
printf(" ");
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is array in C
Can the “if” function be used in comparing strings?
How many bytes are occupied by near, far and huge pointers (dos)?
Explain union. What are its advantages?
Describe the steps to insert data into a singly linked list.
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What is modifier & how many types of modifiers available in c?
What does nil mean in c?
How many header files are in c?
In a header file whether functions are declared or defined?
What is a substring in c?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
How will you declare an array of three function pointers where each function receives two ints and returns a float?
How variables are declared in c?
How can I do peek and poke in c?