What will be the output of the following C++ code?

#include <stdio.h>
    int main()
    {
        char a = '\012';
 
        printf("%d", a);
        return 0;
    }

a) Compiler error
b) 12
c) 10
d) Empty

1 thought on “What will be the output of the following C++ code?”

Leave a Comment