Q. | What will be output if you will compile and execute the following c code? #include
int main()
{
char c='0';
printf("%d %d",sizeof(c),sizeof('0'));
return 0;
}
|
|||||||
|
Answer: | Option C | |
Explaination: |
Size of char data type is one byte while size of character constant is two byte |
Discussion
Your Comments Goes here... |
Name | Discussion |
---|