why nlogn is the lower limit of any sort algorithm?
No Answer is Posted For this Question
Be the First to Post Answer
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }
What are the following notations of defining functions known as? i. int abc(int a,float b) { /* some code */ } ii. int abc(a,b) int a; float b; { /* some code*/ }
How to count a sum, when the numbers are read from stdin and stored into a structure?
#include<stdio.h> main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); }
C statement to copy a string without using loop and library function..
How to reverse a String without using C functions ?
33 Answers Matrix, TCS, Wipro,
main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }
main() { static char names[5][20]={"pascal","ada","cobol","fortran","perl"}; int i; char *t; t=names[3]; names[3]=names[4]; names[4]=t; for (i=0;i<=4;i++) printf("%s",names[i]); }
#include<stdio.h> main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s=malloc(sizeof(struct xx)); printf("%d",s->x); printf("%s",s->name); }
Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
main() { int i=5; printf("%d",++i++); }
main() { int i=5,j=10; i=i&=j&&10; printf("%d %d",i,j); }