Question: int i ; char word [ 2 0 ] = computer; for ( i = 0 ; i 2 0 ; i + + )

int i;
char word[20]= "computer";
for (i=0;i20;i++);
word [i-1]= NULL;
Delete the last character from the string word
Keep the string word as it is
Count number of characters in the string word
Fill the string word with Nulls
 int i; char word[20]= "computer"; for (i=0;i20;i++); word [i-1]= NULL; Delete

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!