How do you verify if the two sentences/phrases input is an
anagram using predefined functions in string.h and by using
arrays?
No Answer is Posted For this Question
Be the First to Post Answer
Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
#define assert(cond) if(!(cond)) \ (fprintf(stderr, "assertion failed: %s, file %s, line %d \n",#cond,\ __FILE__,__LINE__), abort()) void main() { int i = 10; if(i==0) assert(i < 100); else printf("This statement becomes else for if in assert macro"); }
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.
6 Answers Fusion Systems GmbH,
can u give me the c codings for converting a string into the hexa decimal form......
void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }
main() { signed int bit=512, mBit; { mBit = ~bit; bit = bit & ~bit ; printf("%d %d", bit, mBit); } } a. 0, 0 b. 0, 513 c. 512, 0 d. 0, -513
3 Answers HCL, Logical Computers,
All the combinations of prime numbers whose sum gives 32
how to swap 3 nos without using temporary variable
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)); }
main() { int a[10]; printf("%d",*a+1-*a+3); }
WAP to display 1,2,3,4,5........N
C program to print magic square of order n where n > 3 and n is odd