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

Idiots please don't give wrong answers. While you answer
the questions, please check the output practically and post

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 double pointer in c?

1048


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

6883


What are loops c?

1062


What is the difference between ++a and a++?

1229


Write the control statements in C language

1223


Explain the meaning of keyword 'extern' in a function declaration.

1161


Explain main function in c?

1094


How can variables be characterized?

2200


What does the file stdio.h contain?

1075


How many types of operator or there in c?

1108


What is a protocol in c?

1017


Why do we write return 0 in c?

1081


Why string is used in c?

1015


How main function is called in c?

1139


Why are all header files not declared in every c program?

1113