Home » C Programming » Input & Output » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    char *num;
    scanf("%s", num);
    return 0;
    }
    1. Undefined behaviour
    2. Nothing
    3. Compilation Error
    4. Runtime Error
    5. None of these
Correct Option: B

Nothing



Your comments will be displayed only after manual approval.