why do you use macros? Explain a situation where you had to
incorporate macros in your proc report? use a simple
instream data example with code ?
No Answer is Posted For this Question
Be the First to Post Answer
why java is platform independent?
main() { int i = 3; for (;i++=0;) printf(“%d”,i); }
void main() { static int i=i++, j=j++, k=k++; printf(“i = %d j = %d k = %d”, i, j, k); }
main() { int i, n; char *x = “girl”; n = strlen(x); *x = x[n]; for(i=0; i<n; ++i) { printf(“%s\n”,x); x++; } }
union u { struct st { int i : 4; int j : 4; int k : 4; int l; }st; int i; }u; main() { u.i = 100; printf("%d, %d, %d",u.i, u.st.i, u.st.l); } a. 4, 4, 0 b. 0, 0, 0 c. 100, 4, 0 d. 40, 4, 0
how can i search an element in an array
2 Answers CTS, Microsoft, ViPrak,
program to Reverse a linked list
12 Answers Aricent, Microsoft, Ness Technologies,
main() { printf("%d", out); } int out=100;
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }
9 Answers CSC, GoDB Tech, IBM,
Give a very good method to count the number of ones in a 32 bit number. (caution: looping through testing each bit is not a solution)
void ( * abc( int, void ( *def) () ) ) ();
main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }