What will be the output of the following C code?
#include <stdio.h>
void inline func1(char b[10])
{
printf ("%c\n",b[2]);
}
int main()
{
func1("examveda");
return 0;
}
#include <stdio.h>
void inline func1(char b[10])
{
printf ("%c\n",b[2]);
}
int main()
{
func1("examveda");
return 0;
}A. e
B. a
C. x
D. error
Answer: Option B

Join The Discussion