main()
{
static char *s[]={"black","white","yellow","voilet"};
char **ptr[]={s+3,s+2,s+1,s}, ***p;
p=ptr;
**++p;
printf("%s",*--*++p+3);
}
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
can we initialize all the members of union?
Is main() function predfined or userdefined?
What are terms in math?
What is the difference between typedef struct and struct?
"I LOVE MY COUNTRY" write a c program to get "COUNTRY MY LOVE I" as the output. Use any other programming language. It is not mandatory to use C.
11 Answers ABC Infotech, ADP, College School Exams Tests, Kovair,
When should we use pointers in a c program?
What is the collection of communication lines and routers called?
what is difference between #include<stdio.h> and #include"stdio.h"
with out using main how to execute the program?
Explain about block scope in c?
What are two dimensional arrays alternatively called as?