C Programming :: Declarations and Initializations
-
Which of the following operations are INCORRECT?
-
Which of the following correctly represents a long double constant?
-
Which of the structure is incorrcet?
1 : struct aa { int a; float b; };
2 : struct aa { int a; float b; struct aa var; };
3 : struct aa { int a; float b; struct aa *var; };
-
Which of the structure is correct?
1 : struct book { char name[10]; float price; int pages; };
2 : struct aa { char name[10]; float price; int pages; }
3 : struct aa { char name[10]; float price; int pages; }
-
1 : typedef long a;
extern int a c;2 : typedef long a;
extern a int c;3 : typedef long a;
extern a c;