The variables used inside a function definition are called ____
Option A:
Local variables
Option B:
Global variables
Option C:
Auto variables
Option D:
Both A and C.
Correct Answer: option D
If a storage class is missing in the array definition by default it will be taken to be
Option A:
Automatic
Option B:
External
Option C:
Static
Option D:
Either automatic or external depending on the place of occurrence.
Correct Answer: option ASearch more C examples |
Search more C MCQs |
struct |
malloc |
scanf |
return |
goto |
fscanf |
sprintf |
while |
long |
heap overflow |
default |
case |
signed |
for |
enum |
register |
2-dimensional arrays |
function pointer |
do |
inline function |
unsigned |
sizeof |
recursion |
int |
2-D arrays |
break |
typedef |
if |
union |
fibonacci |
char |
static |
else |
extern |
double |
volatile |
switch |
stack overflow |
state machine |
continue |