Home / General Knowledge / Testing New :: Discussion

Discussion :: Testing New

  1. What will be the output of the following program code?

    #include<stdio.h>

    void main()

    {

    int i = 10;

    void *p = &i;

    printf("%f", *(float *)p);

    }

  2. A.

     Error

    B.

     10

    C.

     0.000000

    D.

     None of these.

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Explanation Not Provided


Be The First To Comment