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
Is fortran faster than c?
How can you find the day of the week given the date?
Why is c so popular?
What are reserved words?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is the concatenation operator?
Where local variables are stored in c?
Is there a way to compare two structure variables?
Explain how can type-insensitive macros be created?
What is the difference between procedural and declarative language?
Why is #define used?
what is stack , heap ,code segment,and data segment
can any one provide me the notes of data structure for ignou cs-62 paper
What is atoi and atof in c?