C Multiple Choice Questions

 

  1. The output of this C code?int main()
    {
    enum {KIWI = 12, GUAVA, PINEAPPLE = 11, APPLE};
    printf(“APPLE = %d\n”, APPLE);
    }
    1. APPLE = 12
    2. APPLE = 0
    3. APPLE = 11
    4. APPLE = 2

 

Ans. a. APPLE =