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
What is selection sort in c?
What is || operator and how does it function in a program?
Which are low level languages?
what is the diffrenet bettwen HTTP and internet protocol
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
how do you programme Carrier Sense Multiple Access
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.
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
string reverse using recursion
What are types of functions?
What is the difference between a free-standing and a hosted environment?
Explain the difference between the local variable and global variable in c?
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 int main () in c?
Explain 'bus error'?