Can you subtract pointers from each other? Why would you?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What functions are used in dynamic memory allocation in c?

0 Answers  


What is c mainly used for?

0 Answers  


array of pointer pointer to array pointer to pointer

1 Answers   MAHINDRA,


Difference between malloc() and calloc() function?

0 Answers  


How can we allocate array or structure bigger than 64kb?

2 Answers   CSC,






without using control structures and control structures find the max and min of given 2 nos

1 Answers   HCL,


What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }

2 Answers  


program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5

8 Answers   Infosys,


What is getche() function?

0 Answers  


How to swap 3 numbers without using 4th variable?

5 Answers  


What is the difference between functions getch() and getche()?

0 Answers  


What is the diffrent between while and do while statement ?

6 Answers  


Categories