Which of the following is an external variable in the following C code?
#include <stdio.h>
int func (int a)
{
int b;
return b;
}
int main()
{
int c;
func (c);
}
int d;
#include <stdio.h>
int func (int a)
{
int b;
return b;
}
int main()
{
int c;
func (c);
}
int d;A. a
B. b
C. c
D. d
Answer: Option D

Join The Discussion