Question: Q 7 ) IN C PROGRAMMING Assume string 1 is a character array. Which of the following operations is not a correct way to define

Q7) IN C PROGRAMMING
Assume string1 is a character array. Which of the following operations is not a correct way to define string 1?
A) string 1[]= "test";
B) string 1[]={'t','e','s','t','\0'};
C) string 1[]={'t','e','s','t'};
D)string 1[]="";
E) string1[]="t";
 Q7) IN C PROGRAMMING Assume string1 is a character array. Which

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!