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 |
how to display 2-D array elements in spiral
char *p="name"; printf(p);
Is main is user defined function?
Is calloc better than malloc?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
What is else if ladder?
Can a file other than a .h file be included with #include?
Differentiate between functions getch() and getche().
Explain what is the difference between text files and binary files?
let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................
Discuss the function of conditional operator, size of operator and comma operator with examples.
Why are algorithms important in c program?