Why can arithmetic operations not be performed on void pointers?


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

Post New Answer

More C Interview Questions

C program to find frequency of each character in a text file?

6 Answers  


Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?

2 Answers  


Why do we need volatile in c?

0 Answers  


Write a C program where input is: "My name is xyz". output is: "xyz is name My".

1 Answers   TCS,


What are the advantages and disadvantages of pointers?

0 Answers  


Is c programming hard?

0 Answers  


Here is a neat trick for checking whether two strings are equal

0 Answers  


Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV

5 Answers   Accenture,


the format specified for hexa decimal is a.%d b.%o c.%x d.%u

7 Answers   TCS,


How many header files are in c?

0 Answers  


What are different storage class specifiers in c?

0 Answers  


A program to allow an input operand and operator from the operator and read on the display and output operand.

0 Answers  


Categories