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


Please Help Members By Posting Answers For Below Questions

Explain how are 16- and 32-bit numbers stored?

788


How do I send escape sequences to control a terminal or other device?

618


What is the purpose of clrscr () printf () and getch ()?

605


all c language question

1878


Difference between constant pointer and pointer to a constant.

619






If null and 0 are equivalent as null pointer constants, which should I use?

583


How can I access an I o board directly?

629


What are the salient features of c languages?

627


What does the && operator do in a program code?

701


What are data structures in c and how to use them?

682


What is variables in c?

612


What is the use of extern in c?

651


What oops means?

588


What is openmp in c?

616


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1416