How to find the address of a variable which is declared as long double?
Latest Answer: #iinclude void main(){ double &x; *x=5.5; printf("Address = %u",x); }Try This. ...
How to find the ASCII value of an element ?
Latest Answer: main(){ char ch='+'; printf("%d",ch); } ...
What is the difference between short int and int?
Latest Answer: hi i hope this will be useful for u.in 16 bit processor (Ex: 8086), int data type contains 2 bytes(16 bits) and short contains 1 bytes(8 bits).in 32 bit processor (80486), int data type contains 4 bytes(32 bits) and short contains 2 bytes(16 ...
What are all the type of Exceptions available in C ?
What is garbage value and How it is stored?
Latest Answer: Garbage value is a value which is not useful to your program. Normally when you create a variable and don't initialize it, it has a garbage value which is left behind by another program at that memory address. ...
How to find the least two numbers in a single dimension array in a single pass (traversing the elements only once)
Latest Answer: It is very simple man. Just do like taht.#define LEAST_COMPARE(index, least) list[index] < list[least]for (index = 0;index < 10;index++){ if (LEAST_COMPARE(index,least)) { ...
1. Given an 2D array A[M][N], we are converting it into A[N][M] along with rotating it anti clockwise. What should be the mapping,A[i][j] = A[?][?] (i,j
are 0 based indices) example:.............................................4......81...2...3...4..............................3......7.......................======>..........2......6
1. Find output for following recursive function :int main(){int i=32242,j=find(i);}int find(int j){if(j){j = j%10 + find(j/10);printf(" %d ",j);}return j;}
2. What is the problem with following
Latest Answer: 1.The answer is:24223 ...
How to find binary equivalent of a float number 5.375?
What is the answer of a++ + ++a + a++
int a=5;c = a++ + ++a + a++;//compiler produces the answer 28!!!//How
Latest Answer: Here the value of a=8 if a=5;
and c=18 if c=a++ + ++a + a++
because a will evaluate thrice so a=8 and for c first take a++ + ++a here 5+6=11
and one post increment of a
so a=7 again 11+a++=11+7=18 and one a++=8; ...
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top