Examveda
Examveda

How do you declare a string in C that can store up to 50 characters?

A. string str[50];

B. char str[50];

C. char[] str = "50";

D. string = 50;

Answer: Option B


This Question Belongs to C Program >> Arrays And Strings

Join The Discussion

Related Questions on Arrays and Strings