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: a=5 5+6+6=17 ...
#define sro(X) (X*X)main(){int i=3,j,k;j=sro(i++);k=sro(++i);printf("n%d %d",j,k);getch();}output is 9 49can any one explain why we get second output as 49
Latest Answer: ya this is kind of weird problem dat u will always get with macros..wat happens is wen u write j= sro(i++) it gets expanded to (i++*i++)which assigns 9 to j. now since u r getting i++ twice it gets incremented twice so becomes 5 after executing j=sro(i++)..now ...
How can we display data in subscript by using C language?
What is function pointer in C program?
Latest Answer: Function pointer in concept same as interger pointer, char pointer.Functions also have address keeping this in mind function pointers can be defined as variables, which point to the address of a function. ...
View page << Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>

Go Top