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 are integer variable, floating-point variable and character variable?
HOW TO HANDLE EXCEPTIONS IN C
#include<stdio.h> int main() { int i=0,j=1,k=2,m,n=0; m=i++&&j++&&k++||n++; printf("%d,%d,%d,%d,%d",i,j,k,m,n); }
12 Answers Capital IQ, Sasken,
What are formal parameters?
Was 2000 a leap year?
Q.11 Generate the following pattern using code in any language(c/c++/java) for n no. of rows 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
what does static variable mean?
what is a c-language.what is do.
from which concept of 'c', the static member function of 'c++' has came?
why we use "include" word before calling the header file. is there any special name for that include??????
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Explain what is the difference between declaring a variable and defining a variable?