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
Why do we use & in c?
Explain what is the concatenation operator?
What does void main return?
What are volatile variables in c?
Explain the priority queues?
Should a function contain a return statement if it does not return a value?
What is static memory allocation? Explain
Function calling procedures? and their differences? Why should one go for Call by Reference?
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.
Are there namespaces in c?
How do you view the path?
write a program to find out prime number using sieve case?
What is the difference between a function and a method in c?
What is %g in c?
How do you use a pointer to a function?