Computer Science, asked by TbiaSupreme, 1 year ago

Every string is terminated by null character '\0'. State whether the statement is True (or) False And Justify it

Answers

Answered by aqibkincsem
3

Answer is True.

C is  not for use of the compiler, and  is for the use of  libraries and make possible to  your code. C does not support arrays perfectly.

Local arrays can be used , but there is possibility in passing them about. If you attempt  you will be able to  just pass the start address  which means address of first element.

So you can achieve to get  the last element as  special e.g. '\0' alternatively  always pass the size.

Answered by Anjula
2

Hey mate !!!

Answer :-

It is true.

Every string is trminated by null character.

Hope this helps ★

Similar questions