find the output of the following program
main()
{
int x=5, *p;
p=&x;
printf("%d",++*p);
}
Answer Posted / visalakshi
yes it is six
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
Why is sprintf unsafe?
When should we use pointers in a c program?
What is a built-in function in C?
Can we assign string to char pointer?
program for reversing a selected line word by word when multiple lines are given without using strrev
Why do we use & in c?
What is the difference between printf and scanf )?
Explain how can you tell whether two strings are the same?
What tq means in chat?
What is a sequential access file?
What is the difference between constant pointer and constant variable?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
write a progrmm in c language take user interface generate table using for loop?
What is the difference between procedural and declarative language?
Why do we use main function?