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 / santhosh r
#include<stdio.h>
main()
{int a;
printf("%d",scanf("%d",&a));
}
Is This Answer Correct ? | 9 Yes | 8 No |
Post New Answer View All Answers
Explain how can you restore a redirected standard stream?
Wt are the Buses in C Language
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is linear search?
What is New modifiers?
What is the difference between volatile and const volatile?
write a c program in such a way that if we enter the today date the output should be next day's date.
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Is c compiled or interpreted?
#include
How do c compilers work?
Explain pointer. What are function pointers in C?
What is the use of structure padding in c?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
How is null defined in c?