main()
{
int a;
a=++100;
printf("%d",a);
getch();
}
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / khurshid alam
Sorry Error first define a=0; or any value
| Is This Answer Correct ? | 0 Yes | 0 No |
what is mean by Garbage collection ? Please answer me. Advance thanks.
player is good if the following conditions are satisfied: He is either from “India”, “Japan” or “Korea” He has a minimum of 3 years of experience He has won at least 3 major tournaments, and one of them must be "World Championship Tournament". He must know more than 10 techniques. (but see next question) If he knows less than 10 techniques, then he must be a world champion. His name contains at least 3 words. For example "Sachin Tendulkar" will not meet this condition. Write a method: boolean isGoodPlayer(String name, String country, int yearsExperience, String[] majorTournamentsWon, String[] techniques, boolean isWorldChampion) name country yearsExperience majorTournamentsWon techniques isWorldChampion
char *p="name"; printf(p);
wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain
a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()
Write a program to check prime number in c programming?
Do character constants represent numerical values?
How to implement a packet in C
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
Please list all the unary and binary operators in C.