1.

Whether the statement char text[] = “COMPUTER”; is True/False? Justify

Answer»

It is a single dimensional array. If the user doesn’t specify the size the operating system allocates the number of characters + one (for null character for text) bytes of memory. So here OS allocates 9 bytes of memory.



Discussion

No Comment Found

Related InterviewSolutions