struct node
{
int *a;
char *b;
char array[12];
};
struct node m,*n;

assign the value in *a,*b,char array[12]

Answer Posted / ricky dobriyal

/* hello i am ricky dobriyal */

struct node
{
int *a;
char *b;
char array[12];
};
struct node m,*n;
n->a=10;
n->b='5';
m.array="ricky dobriyal";

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of main( ) in c language?

610


What are structure types in C?

655


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2566


What is local and global variable in c?

610


What is the significance of an algorithm to C programming?

587






What is the use of ?: Operator?

660


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

714


What is a union?

602


What is the size of empty structure in c?

581


How do you define structure?

557


What is build process in c?

635


Implement bit Array in C.

667


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

797


Can you return null in c?

589


Process by which one bit pattern in to another by bit wise operation is?

608