85. Predict the output or error(s) of the following c code

Sunday, October 9th, 2011
1
2
3
4
5
6
7
 main()
{
	int i =0;j=0;
	if(i && j++)
		printf("%d..%d",i++,j);
	printf("%d..%d,i,j);
}

Click here to view the answer

Avatar of Peter Vegas

Author Name :
Peter Vegas

Total : 4 Comments


4 Responses to “85. Predict the output or error(s) of the following c code”

  1. Jyotirmaya Ranbirsingh says:

    sorry sir,
    it is an error in 3rd line.
    int i=0;j=0;

  2. mritunjay says:

    there are 4 error .

  3. mritunjay says:

    there are 4 error in this program

Leave a Reply

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup

Email: