What is typedef?



What is typedef?..

Answer / hrpynux@gmail.com

The typedef is a keyword used in C programming to provide some meaningful names to the already existing variable in the C program. It behaves similarly as we define the alias for the commands. In short, we can say that this keyword is used to redefine the name of an already existing variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Which are low level languages?

0 Answers  


Predict the output or error(s) for the following: 25. main() { printf("%p",main); }

3 Answers   Google, ME,


What is the diffences between Windows XP and Windows Visa

1 Answers   Aricent, FHF,


Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV

5 Answers   Accenture,


What is the use of extern in c?

0 Answers  






If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",a[0]); return 1; } what will be the output?

6 Answers   Hughes,


swap two integer variables without using a third temporary variable?

6 Answers   Persistent,


increment operateor (++)and decrament(--) #include<stdio.h> #inclide<conio.h> main() { int x=15; while(x!=0) scanf("%d",&x); {

2 Answers   HCL, Syntel, TCS,


related to rdbms query .

2 Answers  


What is null pointer in c?

0 Answers  


Difference between constant pointer and pointer to a constant.

0 Answers   Huawei,


what is differnence b/w macro & functions

1 Answers  


Categories