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


Please Help Members By Posting Answers For Below Questions

Explain how do you declare an array that will hold more than 64kb of data?

899


Write a program to swap two numbers without using third variable in c?

615


In which header file is the null macro defined?

850


What are the header files used in c language?

583


What is the difference between struct and union in C?

568






What is the newline escape sequence?

583


When should you use a type cast?

587


What is include directive in c?

642


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

667


When should the register modifier be used? Does it really help?

607


How a string is stored in c?

585


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

608


Explain what is the use of a semicolon (;) at the end of every program statement?

730


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

869


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1255