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 / lucky

out put is 3 and it is correct

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

7985


What is the need of structure in c?

1047


What is the difference between single charater constant and string constant?

1029


Explain the binary height balanced tree?

1123


Is linux written in c?

987


How are pointers declared in c?

1002


what do you mean by inline function in C?

1005


Explain what math functions are available for integers? For floating point?

1061


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

956


write a programming in c to find the sum of all elements in an array through function.

2112


What is the difference between exit() and _exit() function in c?

1017


What is mean by data types in c?

964


What does 3 mean in texting?

1028


State the difference between x3 and x[3].

1051


Give differences between - new and malloc() , delete and free() ?

1040