1.

In which way can SAM be stored in an array?

A. char name[]=”SAM”
B. char name[6]={‘S’,’A’,’M’}
C. char name[6]={“S”,”A”,”M”}
D. char name [6]={‘S’,’A’,’M’,’\0’}
Answer» E.


Discussion

No Comment Found