input may any number except 1,output will always 1..
conditions only one variable should be declare,don't use
operators,expressions,array,structure
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
#include<stdio.h>
main()
{int a;
printf("%d",scanf("%d",&a));
}
| Is This Answer Correct ? | 9 Yes | 8 No |
Answer / 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 |
What is the difference between procedural and functional programming?
The C language terminator is a.semicolon b.colon c.period d.exclamation mark
Without using main fn and semicolon,print remainder for a given number in C language
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
What are variables and it what way is it different from constants?
Are pointers integers in c?
which will be first in c compiling ,linking or compiling ,debugging.
what is the answer for it main() { int i; clrscr(); printf("%d",&i)+1; scanf("%d",i)-1; }
Write a program that his output 1 12 123
What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;
what is const volatile?
how will you write a program on linked lists using JAVA programming???????????