why in C,C++'s int size is 2 byte and .net(c#) int Size is 4
byte?
Answer Posted / king
according to me, c,c++ is the base of pop and oop all language. any person learn any language in deep then his/her base language is clear. so the c and c++ language is most used clear to base logic of all people.so it's int type occupies 2 byte only whereas .net language is used enterprize level and professional level to make application,this language is not used to clear base logic but used to make enterprize and web based application,in web based or professional application numeric variable requirement wide range,in this place 2 byte is less to used in application so the increased size of int in .net language to used wide range of size to make perfect enterprize application and standlone application..(eg. viza card,credit card,ATM card,passport,etc's number is very long)
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What is string in c language?
What is the difference between abs() and fabs() functions?
Explain 'bit masking'?
What is FIFO?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
FILE PROGRAMMING
Explain pointers in c programming?
What is a char c?
Explain the use of 'auto' keyword in c programming?
Is c is a high level language?
What are the advantages of using linked list for tree construction?
Can you add pointers together? Why would you?
Explain 'bus error'?
What is array in C
What are c header files?