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

A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

0 Answers  


What is the difference between int main and void main?

0 Answers  


develop algorithms to add polynomials (i) in one variable

0 Answers   Ignou, TCS,


ABCDCBA ABC CBA AB BA A A

4 Answers   TCS,


How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 Answers   CMC, Wipro,


What is difference between structure and union in c?

0 Answers  


How to set a variable in the environment list?

1 Answers  


What is class and object in c?

0 Answers  


Can you please explain the difference between strcpy() and memcpy() function?

0 Answers  


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

0 Answers  


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

0 Answers   Amazon,


What is the c language function prototype?

0 Answers  


Categories