Computer Science, asked by samudeshmukh202, 7 months ago

RIONUCUN
VILIVUDILUI
LULUI DISPUN
A
PP AIYUNU
LOUIENO
LOHUET a bones
Les
What is the output of the following C program if the input is "X" (without double quotes)
#include <stdio.h>
int test (char c[])
{
if (c == "x")
return 1;
else
return 0;
}
int main (int argv, chart argc [])
{
char c [10];
scanf("%s", c);
printf("d", test(c));
return 0;
}​

Answers

Answered by pradeepkumar7813717
2

Answer:

1

Explanation:

no need. of. explanation from our side

1

Similar questions