Write a routine to implement the polymarker function
No Answer is Posted For this Question
Be the First to Post Answer
main() { if (!(1&&0)) { printf("OK I am done."); } else { printf("OK I am gone."); } } a. OK I am done b. OK I am gone c. compile error d. none of the above
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)
main() { int i=4,j=7; j = j || i++ && printf("YOU CAN"); printf("%d %d", i, j); }
main() { int i=300; char *ptr = &i; *++ptr=2; printf("%d",i); }
main() { unsigned int i=10; while(i-->=0) printf("%u ",i); }
main ( ) { static char *s[ ] = {“black”, “white”, “yellow”, “violet”}; char **ptr[ ] = {s+3, s+2, s+1, s}, ***p; p = ptr; **++p; printf(“%s”,*--*++p + 3); }
void main() { char ch; for(ch=0;ch<=127;ch++) printf(“%c %d \n“, ch, ch); }
Find the largest number in a binary tree
main() { printf("%x",-1<<4); }
Write a program to model an exploding firecracker in the xy plane using a particle system
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 ?
C program to print magic square of order n where n > 3 and n is odd