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


Please Help Members By Posting Answers For Below Questions

Why isnt any of this standardized in c?

864


What are the types of data types and explain?

886


What is boolean in c?

845


Can you please explain the scope of static variables?

823


int i=10; printf("%d %d %d", i, i=20, i);

1334


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

894


State the difference between realloc and free.

861


How will you divide two numbers in a MACRO?

932


Differentiate between new and malloc(), delete and free() ?

931


What is meant by operator precedence?

896


Is the exit() function same as the return statement? Explain.

877


Why c is a mother language?

767


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

904


Why is c still so popular?

824


How many types of operator or there in c?

855