main()
{
extern i;
printf("%d\n",i);
{
int i=20;
printf("%d\n",i);
}
}
Answer / susie
Answer :
Linker Error : Unresolved external symbol i
Explanation:
The identifier i is available in the inner block and so
using extern has no use in resolving it.
| Is This Answer Correct ? | 2 Yes | 0 No |
How do I write a program to print proper subset of given string . Eg :input: abc output:{},{a},{b},{c},{a,b},{a,c},{b,c}, {a,b,c}.I desperately need this program please mail me to saravana6m@gmail.com
What is the main difference between STRUCTURE and UNION?
what will be the position of the file marker? a: fseek(ptr,0,SEEK_SET); b: fseek(ptr,0,SEEK_CUR);
main( ) { char *q; int j; for (j=0; j<3; j++) scanf(“%s” ,(q+j)); for (j=0; j<3; j++) printf(“%c” ,*(q+j)); for (j=0; j<3; j++) printf(“%s” ,(q+j)); }
plz send me all data structure related programs
Write a Program that Inputs 10 Numbers in an Array and Show the Maximum Number
create a login program that ask username and password. if you input username or password 3 times wrong, the program will terminate else the program will prompt a message "congratulations"
#include<stdio.h> main() { const int i=4; float j; j = ++i; printf("%d %f", i,++j); }
Write a C program to print ‘Campus Force training’ without using even a single semicolon in the program.
main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
Printf can be implemented by using __________ list.
#define a 10 void foo() { #undef a #define a 50 } int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } explain the answer