struct node
{
int *a;
char *b;
char array[12];
};
struct node m,*n;
assign the value in *a,*b,char array[12]
Answer Posted / aravind
struct node
{
int *a;
char *b;
char array[12];
};
struct node m,*n;
m->a*=5;
m->*b='c';
m.array[12]={"aravind");
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the use of typedef in c?
What are the keywords in c?
What are the complete rules for header file searching?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Why shouldn’t I start variable names with underscores?
What are register variables? What are the advantage of using register variables?
What does the characters “r” and “w” mean when writing programs that will make use of files?
What is use of pointer?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
How do shell structures work?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Explain pointer. What are function pointers in C?
code for quick sort?
How can my program discover the complete pathname to the executable from which it was invoked?
In C language, a variable name cannot contain?