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
Is there sort function in c?
How can I do peek and poke in c?
Was 2000 a leap year?
Explain what are the different data types in c?
Explain that why C is procedural?
Differentiate between a structure and a union.
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is array in C
What is the time and space complexities of merge sort and when is it preferred over quick sort?
if p is a string contained in a string?
How can I list all of the predefined identifiers?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
Explain a file operation in C with an example.
Explain how can I write functions that take a variable number of arguments?