What is the size of a char pointer?

a) 1 byte
b) 2 byte
c) 3 byte
d) 4 byte

1 thought on “What is the size of a char pointer?”

  1. b
    Explanation:
    class UnsafeCode
    {
    unsafe static void Main()
    {
    char ch;
    Console.WriteLine(sizeof(char));
    Console.ReadLine();
    }
    }
    The sizeof() method helps in calculating size of char pointer.

Leave a Comment