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


Please Help Members By Posting Answers For Below Questions

What is a protocol in c?

561


define string ?

672


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

640


Explain how does flowchart help in writing a program?

636


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

704






What is the best style for code layout in c?

634


What is the difference between array and linked list in c?

606


What are the properties of union in c?

596


What are types of structure?

609


What does a pointer variable always consist of?

667


Is void a keyword in c?

584


What is the ANSI C Standard?

782


can any one tel me wt is the question pattern for NIC exam

1561


what is bit rate & baud rate? plz give wave forms

1524


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

1633