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

ryt answer is 3 for sure

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a dynamic array in c?

1155


What is #pragma statements?

1095


What is the heap in c?

1077


Where is volatile variable stored?

1087


Explain function?

1087


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

1050


What are the disadvantages of external storage class?

1054


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1293


What are different types of pointers?

1068


Write a program to check prime number in c programming?

1090


Can we access array using pointer in c language?

1084


What does char * * argv mean in c?

1058


What is clrscr in c?

1131


How do you sort filenames in a directory?

1168


What does *p++ do? What does it point to?

1061