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 string is used in c?

992


What is the use of c language in real life?

1008


Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

2035


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

5054


What are linked lists in c?

1117


What are the different types of linkage exist in c?

1016


What type of function is main ()?

1028


Differentiate between ordinary variable and pointer in c.

1160


How do I convert a string to all upper or lower case?

1094


What is the use of linkage in c language?

1045


What are keywords in c with examples?

1073


What is break in c?

1017


Differentiate call by value and call by reference?

948


What is actual argument?

1051


Write a program to use switch statement.

1113