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
void main() { int i; char a[]="\0"; if(printf("%s\n",a)) printf("Ok here \n"); else printf("Forget it\n"); }
main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }
main() { int k=1; printf("%d==1 is ""%s",k,k==1?"TRUE":"FALSE"); }
What is your nationality?
All the combinations of prime numbers whose sum gives 32
Write a Program that Inputs 10 Numbers in an Array and Show the Maximum Number
main() { int i = 0xff ; printf("\n%d", i<<2); } a. 4 b. 512 c. 1020 d. 1024
main() { 41printf("%p",main); }8
main( ) { int a[ ] = {10,20,30,40,50},j,*p; for(j=0; j<5; j++) { printf(ā%dā ,*a); a++; } p = a; for(j=0; j<5; j++) { printf(ā%d ā ,*p); p++; } }
write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"
#include<stdio.h> main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }
Write a program to print a square of size 5 by using the character S.