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 |
Is fortran faster than c?
Explain what is wrong with this program statement? Void = 10;
Describe the order of precedence with regards to operators in C.
1) int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain the explain the output
program to find which character is occured more times in a string and how many times it has occured? for example in the sentence "i love india" the output should be i & 3.
Name the language in which the compiler of "c" in written?
Why cd or dvd are round why not square.
wite a programme in c to linear search a data using flag and without using flags?
Is it better to use malloc() or calloc()?
What does 1f stand for?
Explain how can I write functions that take a variable number of arguments?
what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }