Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


which of the following statements is incorrect
a.typedef struct new{
int n1;
char n2;
} DATA;
b.typedef struct {
int n3;
char *n4;
}ICE;
c.typedef union {
int n5;
float n6;
} UDT;
d.#typedef union {
int n7;
float n8;
} TUDAT;

Answers were Sorted based on User's Feedback



which of the following statements is incorrect a.typedef struct new{ int n1; char n2; ..

Answer / saudip sen

choice d.

Reason:
The macro sign # is not applicable here.
Syntactical error!

Is This Answer Correct ?    11 Yes 0 No

which of the following statements is incorrect a.typedef struct new{ int n1; char n2; ..

Answer / phanitha

d is the right answer
# should not be present at starting.

Is This Answer Correct ?    10 Yes 1 No

which of the following statements is incorrect a.typedef struct new{ int n1; char n2; ..

Answer / mannucse

d

Is This Answer Correct ?    10 Yes 2 No

which of the following statements is incorrect a.typedef struct new{ int n1; char n2; ..

Answer / sanath

Bot a and d are wrong.

Is This Answer Correct ?    5 Yes 5 No

which of the following statements is incorrect a.typedef struct new{ int n1; char n2; ..

Answer / shruti

b and d are wrong..

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More C Interview Questions

what is volatile in c language?

9 Answers   Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,


What is the use of typedef in structure in c?

0 Answers  


What is pragma in c?

0 Answers  


what are the different storage classes in c?

0 Answers   TCS,


main is a predefined or user define function if user defined why? if predefined whay?

12 Answers   TCS,


What is the output of the following progarm? #include<stdio.h> main( ) { int x,y=10; x=4; y=fact(x); printf(ā€œ%d\nā€,y); } unsigned int fact(int x) { return(x*fact(x-1)); } A. 24 B. 10 C. 4 D. none

2 Answers  


What's wrong with "char *p; *p = malloc(10);"?

5 Answers  


What is a memory leak in structures? How can we rectify that?

2 Answers  


What is Function Pointer? Explain with example?

3 Answers  


Why preprocessor should come before source code?

2 Answers  


What is bubble sort technique in c?

0 Answers  


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

0 Answers  


Categories