no the output is
enter your name arthi
1
because here I used the sizeof() operator. the purpose of sizeof() is to return the size of the variable
Here the variable "name" is used as char data type.The byte value of char is 1.
Hence it will return the result as 1.
enter your name arthi
1
because here I used the sizeof() operator. the purpose of sizeof() is to return the size of the variable
Here the variable "name" is used as char data type.The byte value of char is 1.
Hence it will return the result as 1.