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 |
What is the output of the program given below main() { signed char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h
How do you sort a Linked List (singly connected) in O(n) please mail to pawan.10k@gmail.com if u can find an anser...i m desperate to knw...
6 Answers Microsoft, MSD, Oracle,
what is oop?
Write a program to print a square of size 5 by using the character S.
can u give me the c codings for converting a string into the hexa decimal form......
write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"
main( ) { int a[ ] = {10,20,30,40,50},j,*p; for(j=0; j<5; j++) { printf(“%d” ,*a); a++; } p = a; for(j=0; j<5; j++) { printf(“%d ” ,*p); p++; } }
why the range of an unsigned integer is double almost than the signed integer.
main() { int i; float *pf; pf = (float *)&i; *pf = 100.00; printf("\n %d", i); } a. Runtime error. b. 100 c. Some Integer not 100 d. None of the above
main() { char s[ ]="man"; int i; for(i=0;s[ i ];i++) printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]); }
main() { main(); }