There are two files.
#include <stdio.h>
void fun1(int i)
{
int a;
printf("Enter the number\n");
scanf("%d",&a);
if(a==i)
printf("Equal\n");
else
printf("Equal\n");
}
int main()
{
fun1(18);
}
/* INPUT */
18
What will be in file in OUTPUT file both cases.
Case-1:
./a.out < INPUT > OUTPUT
Case-2: Entered value is "18" from key board.
./a.out > output