why in C,C++'s int size is 2 byte and .net(c#) int Size is 4
byte?
Answer Posted / mohit
because c and c++ language use ASCII code system.but in .net
and java use UNICODE system. where char size also 2byte.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Here is a neat trick for checking whether two strings are equal
How many keywords (reserve words) are in c?
Why clrscr is used in c?
What is the difference between Printf(..) and sprint(...) ?
Can a local variable be volatile in c?
Define macros.
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
What are high level languages like C and FORTRAN also known as?
Explain zero based addressing.
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Is there a way to switch on strings?
Write a program to use switch statement.
Explain how can you avoid including a header more than once?
What is a string?
What is wrong in this statement?