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 |
What is the hidden bug with the following statement? assert(val++ != 0);
main() { char *p = “ayqm”; printf(“%c”,++*(p++)); }
29 Answers IBM, TCS, UGC NET, Wipro,
Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.
Is this code legal? int *ptr; ptr = (int *) 0x400;
Write a program to implement the motion of a bouncing ball using a downward gravitational force and a ground-plane friction force. Initially the ball is to be projected in to space with a given velocity vector
write a program for area of circumference of shapes
Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??
main() { int c = 5; printf("%d", main||c); } a. 1 b. 5 c. 0 d. none of the above
How do you write a program which produces its own source code as its output?
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)); }
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
why nlogn is the lower limit of any sort algorithm?