main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}

output??

Answer Posted / rukmanee

output : x=10;
y=16;

Is This Answer Correct ?    20 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain how do you use macro?

670


How does placing some code lines between the comment symbol help in debugging the code?

550


How is a macro different from a function?

659


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2226


What are the types of functions in c?

577






How do you determine whether to use a stream function or a low-level function?

657


can any one tel me wt is the question pattern for NIC exam

1560


How can you increase the size of a dynamically allocated array?

647


When would you use a pointer to a function?

591


In C programming, how do you insert quote characters (‘ and “) into the output screen?

898


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2004


What is extern keyword in c?

648


Is it cc or c in a letter?

571


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

4748


What is the value of h?

597