main()
{
printf("%d", out);
}
int out=100;
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
Compiler error: undefined symbol out in function main.
Explanation:
The rule is that a variable is available for use from the
point of declaration. Even though a is a global variable, it
is not available for main. Hence an error.
| Is This Answer Correct ? | 6 Yes | 0 No |
100
bcz int out=100is globle diclearation
| Is This Answer Correct ? | 2 Yes | 3 No |
main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }
posted by surbhi just now main() { float a = 5.375; char *p; int i; p=(char*)&a; for(i=0;i<=3;i++) printf("%02x",(unsigned char) p[i]); } how is the output of this program is :: 0000ac40 please let me know y this output has come
main() { char c=' ',x,convert(z); getc(c); if((c>='a') && (c<='z')) x=convert(c); printf("%c",x); } convert(z) { return z-32; }
main() { if ((1||0) && (0||1)) { printf("OK I am done."); } else { printf("OK I am gone."); } } a. OK I am done b. OK I am gone c. compile error d. none of the above
Write a procedure to implement highlight as a blinking operation
main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }
void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }
Finding a number multiplication of 8 with out using arithmetic operator
How can i find first 5 natural Numbers without using any loop in c language????????
Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
main() { int i=4,j=7; j = j || i++ && printf("YOU CAN"); printf("%d %d", i, j); }