Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is output of the following program ?

main()
{
i = 1;
printf("%d %d %d\n",i,i++,i++);
}

Answer Posted / guest

error exist due to nat declaring datatype for i

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2597


Can we change the value of constant variable in c?

1001


What are the types of pointers?

1030


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

4238


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1031


how can use subset in c program and give more example

1922


Is null always defined as 0(zero)?

1040


write a program to print largest number of each row of a 2D array

2267


Write a code to determine the total number of stops an elevator would take to serve N number of people.

1187


What is meant by errors and debugging?

1053


How can I do serial ("comm") port I/O?

1128


What is the purpose of 'register' keyword in c language?

976


#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

1002


When the macros gets expanded?

1335


Explain is it valid to address one element beyond the end of an array?

1147