Interviewer And Interviewee Guide

C++ Type Checking Interview Question:

What is the output of this program?

#include <stdio.h>
int main()
{
char a = '12';

printf("%d", a);
return 0;
}
a) Compiler error
b) 12
c) 10
d) Empty

Submitted by: Administrator
c) 10
Submitted by:

Read Online C++ Type Checking Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.