find the output of the following program
main()
{
int x=5, *p;
p=&x;
printf("%d",++*p);
}

Answer Posted / rajeesh

Six -6

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the different bitween abap and abap-hr?

1741


Explain how can you tell whether two strings are the same?

580


What is the size of structure pointer in c?

610


What is a function simple definition?

609


explain how do you use macro?

665






What are the types of operators in c?

608


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

2644


Explain the term printf() and scanf() used in c language?

588


List the difference between a "copy constructor" and a "assignment operator"?

576


What is the difference between declaring a variable and defining a variable?

716


Why do we use static in c?

629


What is quick sort in c?

577


What is a stream?

642


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

4737


What does the && operator do in a program code?

694