find the output of the following program
main()
{
int x=5, *p;
p=&x;
printf("%d",++*p);
}
Answer Posted / nava
TO MY KNOWLDGE
6 IS THE ANSWER
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the use of ?
What are the advantages of using Unions?
How can I implement a delay, or time a users response, with sub-second resolution?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
What is union in c?
How #define works?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
What is the difference between array_name and &array_name?
What is malloc calloc and realloc in c?
What is difference between function overloading and operator overloading?
When can you use a pointer with a function?
What are preprocessor directives in c?
What is use of #include in c?
How can I write a function analogous to scanf?