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 a;
a=++100;
printf("%d",a);
getch();
}

Answer Posted / baji shareef

error. Increment procedure is possible only for the variable. ++100 means 100=100+1 i.e., you are changing the value of constant value which is impossible.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use & in c?

1006


Explain what is the concatenation operator?

1174


What does void main return?

1129


What are volatile variables in c?

953


Explain the priority queues?

1083


Should a function contain a return statement if it does not return a value?

1083


What is static memory allocation? Explain

1104


Function calling procedures? and their differences? Why should one go for Call by Reference?

1089


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2865


Are there namespaces in c?

1133


How do you view the path?

1132


write a program to find out prime number using sieve case?

2101


What is the difference between a function and a method in c?

1087


What is %g in c?

1080


How do you use a pointer to a function?

1090