Multiple choice technology programming languages

#include main (){ char c[] = "Hello"; char *p = "Hello"; printf("Size of c: %d Addr of c:%x\n",sizeof(c),c); }

  1. Size of c: some value Addr of c:some address

  2. Size of c: some value Addr of c:some value

  3. Size of c: some address Addr of c:some address

  4. Compilation error

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In modern C standards, defining main() without an explicit return type (such as int) results in a compilation error. Distractors are incorrect because the compiler will fail to build the program before it can execute and output any size or address values.