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

how we can make 3d venturing graphics on outer interface

4757


Write a simple code fragment that will check if a number is positive or negative.

1116


What is atoi and atof in c?

1048


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1188


What is a ternary operator in c?

1082


What is double pointer?

963


What is the difference between c &c++?

1105


What are categories used for in c?

1049


What is a shell structure examples?

1053


What are the features of the c language?

1056


What is the size of array float a(10)?

1107


What is the difference between test design and test case design?

2050


What do you mean by a local block?

1049


What are valid signatures for the Main function?

1191


How will you write a code for accessing the length of an array without assigning it to another variable?

1024