#include<stdio.h>
typedef struct
{
char *name;
double salary;
}job;
main()
{
static job a={"tcs",15000.0};
static job a={"ibm",25000.0};
static job a={"google",35000.0};
int x=5;
job *arr[3]={&a,&b,&c};
printf("%s %f\t",(3,x>>1)[*arr]);
}
output: google 35000.000000
what this printf statement means plz explain...
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.