Computer Science, asked by RRaaaaju, 11 months ago

please any one answer my question​

Attachments:

Answers

Answered by anishasa
1

Answer:

'\0' is the null termination character. It is used to mark the end of a string.

Whenever a string is defined in C then by default the terminating character of the string is \0. This is placed at the end of the string.

name [0] ! = '\0' k not equal to null

so the first character will be printed K

Then i gets incremented

i++

i = 1

name [ 1 ] ! = '\0' a not equal to null

Again it goes on..

At last ..name[ 9 ] ! = '/0' The 9th character is '/0' null

'/0' ! = '/0

Condition false

Output:

kagzwrxad

Similar questions