what is a void pointer?
Answers were Sorted based on User's Feedback
Answer / karthik
void *p;
its void pointer.
it can point to any pointer like int*,char*,etc....
that is use of void*.
| Is This Answer Correct ? | 3 Yes | 2 No |
write a program to swap two variables a=5 , b= 10 without using third variable
Explain the difference between malloc() and calloc() in c?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?
Explain what is a pragma?
What is action and transformation in spark?
How can I read data from data files with particular formats?
Method Overloading exist in c ?
Explain Doubly Linked Lists?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What are the 32 keywords in c?
What is spark map function?