Q9
MCQ1 mark, −0.33Consider the following three ANSI-C programs, and . P1:
#include <stdio.h>
int a=5;
int main(){
int a=7;
return(0);
}
P2:
#include <stdio.h>
int main(){
int a=5;
int a=7;
return(0);
}
P3:
#include <stdio.h>
int main(){
int a=5;
float a=7;
return(0);
}
Which one of the following statements is true?
Sign in to save attempts.
Keys: A–D or 1–4 choose, Enter checks, ← → move between questions.
Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.