main()
{
extern out;
printf("%d", out);
}
int out=100;
Answer / susie
Answer :
100
Explanation:
This is the correct way of writing the previous program.
| Is This Answer Correct ? | 8 Yes | 1 No |
Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba. You can assume that all the characters will be unique.
5 Answers IITR, Microsoft, Nike,
main() { int i=400,j=300; printf("%d..%d"); }
what is the code of the output of print the 10 fibonacci number series
How to reverse a String without using C functions ?
33 Answers Matrix, TCS, Wipro,
main() { printf("%d", out); } int out=100;
struct aaa{ struct aaa *prev; int i; struct aaa *next; }; main() { struct aaa abc,def,ghi,jkl; int x=100; abc.i=0;abc.prev=&jkl; abc.next=&def; def.i=1;def.prev=&abc;def.next=&ghi; ghi.i=2;ghi.prev=&def; ghi.next=&jkl; jkl.i=3;jkl.prev=&ghi;jkl.next=&abc; x=abc.next->next->prev->next->i; printf("%d",x); }
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }
Sorting entire link list using selection sort and insertion sort and calculating their time complexity
1 Answers Infosys, Microsoft, NetApp,
void main() { int i=5; printf("%d",i+++++i); }
main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }
What is the problem with the following code segment? while ((fgets(receiving array,50,file_ptr)) != EOF) ;
main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; } a. Runtime error. b. Runtime error. Access violation. c. Compile error. Illegal syntax d. None of the above