Is the following code legal?
struct a
{
int x;
struct a b;
}
Answer Posted / raghu
no this code is illegal.
legal one:
struct a
{
int x;
struct a *b;
}
| Is This Answer Correct ? | 26 Yes | 7 No |
Post New Answer View All Answers
What is getch c?
How can I delete a file?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Describe the steps to insert data into a singly linked list.
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
write a program to create a sparse matrix using dynamic memory allocation.
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What is the scope of global variable in c?
In a switch statement, what will happen if a break statement is omitted?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
Why is c so powerful?
What are the loops in c?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What is the process of writing the null pointer?
plz let me know how to become a telecom protocol tester. thank you.