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;
a) a
b) b
c) c
d) d
Answer: d
Related Posts
Which of the following is not a fundamental type is not present in C but present in C++?
Which of the following approach is used by C++?
Which of the following explains the overloading of functions?
Which concept means the addition of new components to a program as it runs?
Which of the following is an abstract data type?
How compile-time polymorphisms are implemented in C++?
How run-time polymorphisms are implemented in C++?
Join The Discussion