Q:

What is the output of the C Program with arrays ?? int main() { char str[25]; scanf("%s", str); printf("%s",str); return 0; } //input: South Africa

A) South B) South Africa
C) S D) Compiler error
 

View Answer Explanation

Category: C Language MCQ
Sub Category: Strings

26