Vidyarthiplus (V+) - Indian Students Online Education Forum

Full Version: GUESS THE OUTPUT
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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.
+1 added to venkatesh
Pages: 1 2 3 4