(Choose 1 answer)
What will be the output of the following program?
#include<stdio.h>
#include <string.h>
void show(char str[])
{
int len = strlen(str);
for(int i=0;i<len;i++)
printf("%c", str[i]);
}
int main(){
char str = "abcd";
show(str);
return 0;
}
A. a|b|c|d
B. alb|c|d
C. abcd
D. a,b,c,d
Q: 27