C Programming Data Type Multiple choice question

Exercise : - Multiple Choice Question On C Programming, MCQ C Programming Data type

This section contains a lot of c programming question and answer with explanation on the topic data type. These question and answer are very much helpful for interview(campus interviews, walkin interviews, company interviews), competitive examination ,entrance test and placements. Each question having answer and explanation that would help you to understand easily. These question are designed from basic to advance level. So anyone can learn from here (beginner, fresher, engineering graduate, an experienced IT professional).

All the question of c programming are listed below on data type along with detailed explanation / solution and answer.

1) What will be output when you will execute following c code?
                                                                          

#include <stdio.h> int main(){ printf("%d\t",sizeof(8.6)); printf("%d\t",sizeof(60000)); printf("%d",sizeof('Q')); return 0; }

A. 4 2 1
B. 8 2 1
C. 8 4 2
D. None of Above

Answer:

8 4 2

Option:

( C )


Explanation :

No explanations available for this question.