wats the diference btwen constant pointer and pointer to a
constant.pls give examples.
Answer Posted / jose j pothoor
I see ur explanation...then what would be the answer of
below program
void main()
{
int const *p=5;
printf("%d",++(*p));
}
a)5
b)6
c) Run time error
d) Compiler error
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What is static identifier?
What is the use of parallelize in spark?
Why c language?
What is the difference between %d and %i?
What are dangling pointers? How are dangling pointers different from memory leaks?
Why is c platform dependent?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
Explain the ternary tree?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
How can I make it pause before closing the program output window?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is the full form of getch?
What is d'n in c?
Explain what are the __date__ and __time__ preprocessor commands?