PROGRAMMING AND PROBLEM SOLVING THROUGH ‘C’ LANGUAGE

1.5. What will assign in s, when we use the following pair of statements in c-program:
char *s;
s = “my car color is : white”;
A) first character of the string constant
B) complete string
C) address of the string storage
D) is a logical error


Leave a Reply