main()
{
int *ptr=(int*)malloc(sizeof(int));
*ptr=4;
printf("%d",(*ptr)+++*ptr++);
}
Answer Posted / aravind
I think it gives syntax error because there is no operation in C which says P+++ just P++.If he can seperate that one + than the above ans is will be 5+5=10.
| Is This Answer Correct ? | 5 Yes | 35 No |
Post New Answer View All Answers
Explain the use of keyword 'register' with respect to variables.
What is the heap in c?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is the usage of the pointer in c?
Do you know what are bitwise shift operators in c programming?
What are the types of type qualifiers in c?
What language is lisp written in?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is static volatile in c?
Is c still relevant?
How does pointer work in c?
How are pointers declared in c?
What is maximum size of array in c?
Explain about the constants which help in debugging?
explain what are actual arguments?