#include <stdio.h>
int mai

Loading

โœช Choose the correct option.

#include 
int main(){
char nam[2][10];
int i;
for(i=0;i<=1;i++){
printf("Name=");
scanf("%s",nam[i]);
printf("Name is=%s ",nam[i]);
}
return 0;
}

A. Name=Ram
Name is=Ram
Name=David
Name is=David
B. Name=Ram
Name is=Ram
C. Name=David
Name is=David
D. compiler error

Leave a Comment