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


Please Help Members By Posting Answers For Below Questions

Explain how can you restore a redirected standard stream?

587


Wt are the Buses in C Language

2749


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

805


What is linear search?

678


What is New modifiers?

665






What is the difference between volatile and const volatile?

559


write a c program in such a way that if we enter the today date the output should be next day's date.

1677


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.....

1368


Is c compiled or interpreted?

659


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

5194


How do c compilers work?

605


Explain pointer. What are function pointers in C?

624


What is the use of structure padding in c?

561


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(); }

1855


How is null defined in c?

650