Q.

ਜੇਕਰ ਅਸੀਂ ਵਿਚਾਰ ਕਰੀਏ ਕਿ ਸਟਰਿੰਗ ਦਾ ਐਲਾਨ char x[10] ਵਜੋਂ ਹੁੰਦਾ ਹੈ ਤਾਂ ਉਸ ਸਟਰਿੰਗ ਦੀ ਲੰਬਾਈ ਦੀ ਕਿੰਨੀ ਹੁੰਦੀ ਹੈ ਜਿਹੜੀ x ਦੁਆਰਾ ਸਹੀ ਤੌਰ ਤੇ ਪ੍ਰਤੀਨਿਧ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ ?
If we consider that a string is declared as char x [10], what is the length of the string that can be properly represented by x?

Chapter-1 | String Function | String Function

1) /11
2) /9
3) /10
4) /All of these

Ans.) /9