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

Answer Posted / lrishna

ya ans is 6.

Is This Answer Correct ?    32 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by recursion in c?

627


given post order,in order construct the corresponding binary tree

2323


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

837


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

636


What are the advantages of using Unions?

642






differentiate built-in functions and user – defined functions.

628


How can I automatically locate a programs configuration files in the same directory as the executable?

632


what is bit rate & baud rate? plz give wave forms

1519


How to throw some light on the b tree?

605


Why functions are used in c?

587


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

685


Is null a keyword in c?

737


Why c is a procedural language?

584


What are the preprocessor categories?

639


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3144