Write a program in C that does nothing not even takes memory?
Latest Answer: A program that does nothing is as:void main(void) {;} ...
Write a program in C to display output as "hello world" without using semicolon(;)?
Latest Answer: #includevoid main(void){ if(printf("Hello World")) {;}} ...
What is Field Width Specification?
Latest Answer: field width specification means to allocate the a particular fixed size of a varriable whether varriable is small in size or big.eg:if we allocate a field width of a varriable is 10 and the varriable is a[5] then it will just take a five block ...
What is BSS segment? Where it will be?
Latest Answer: BSS stores the variables which are initialized to 0 ...
1. #define MAX 1002. main()3. {4. int max=100;5. int a[MAX];6. int b[max];7. }
Latest Answer: 5th statement, here the array size will be assigned at preprocessor stage.6th statement, here it will not give any compile time error but some the program will be having lot of bugs. size will be assigned at run time. ...
we say stack is allocated to the local variables ,formal arguments and return addresses of a function for manipulating function calls?but the question arises when does the stack allocation to above things
Latest Answer: Memory is allocated only during the runtime, and compiler just decides the amount of memory needed by each variable... It just adds the displacement value to be added to the Base Stack pointer for "Local Variables" Allocation. ...
Latest Answer: speed is the same. int iSpeedTest = i++;00413773 mov eax,dword ptr [ebp-0Ch] 00413776 mov dword ptr [ebp-150h],eax 0041377C mov ecx,dword ...
what is difference between reference and pointer or pass by reference and pass by pointer?
Latest Answer: C++ supports passing an object by reference and pointer, former is widely used in the C++ where as C doesnot support passing user defined data by reference.Consider the following exampleEmployee *ptr; // is a placeholderEmployee &ref; // ...
ex:int a=10;int b=10;int sum=a+b;without using "+" operator calculate sum
Latest Answer: main(){ couta>>b; do{ x=a&b; y=a^b; ...
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top