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...

main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}

what will be the output?
}

Answer Posted / revathi

Correct Answer is 3.

Do not post wrong answer.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the constants which help in debugging?

1313


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1871


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1122


write a program to create a sparse matrix using dynamic memory allocation.

4844


What is the use of printf() and scanf() functions?

1073


What are categories used for in c?

1037


What is main function in c?

1021


How can I open files mentioned on the command line, and parse option flags?

1017


How can you read a directory in a C program?

1096


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

987


Why is %d used in c?

965


Why string is used in c?

957


What is default value of global variable in c?

941


Can you tell me how to check whether a linked list is circular?

1328


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3771