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

Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

1 Answers   CMS,


What is structure data type in c?

0 Answers  


Difference between malloc() and calloc() function?

0 Answers  


Give the logic for this #include<stdio.h> #include<conio.h> void main() { clrscr(); int a=10,b; b=++a + ++a; printf("%d", b); getch(); } Output: 24......How?

2 Answers   Accenture,


Is c is a high level language?

0 Answers  


Write a code to generate divisors of an integer?

0 Answers   Ericsson,


What are extern variables in c?

0 Answers  


How many header files are in c?

0 Answers  


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

0 Answers  


Under what circumstances does a name clash occur?

0 Answers   InterGraph,


triangle number finding program...

1 Answers   HCL,


what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }

3 Answers   Honeywell,


Categories