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
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What is the use of header files?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What is a loop?
Explain the term printf() and scanf() used in c language?
What is the method to save data in stack data structure type?
What is wild pointer in c with example?
What header files do I need in order to define the standard library functions I use?
What is an operator?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What are valid operations on pointers?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What is sizeof in c?
Explain what are run-time errors?
Can a variable be both static and volatile in c?