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

What is %lu in c?

0 Answers  


How do you print only part of a string?

0 Answers  


is it possible to change the default calling convention in c ?

1 Answers   Aptech,


What are the advantages of using linked list for tree construction?

0 Answers  


Write down the program to sort the array.

4 Answers   Impiger,






how would a 4*3 array A[4][3] stored in Row Major Order?

0 Answers   HCL, Ignou,


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

0 Answers   Wilco,


what is the use of a array in c

6 Answers  


# define x=1+4; main() { int x; printf("%d%d",x/2,x/4); }

5 Answers  


main() { int i; for(i=0;i<5;i++) printf("%d",1l<<i); } why doesn't 'l' affect the code??????

1 Answers  


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

0 Answers  


Can you think of a way when a program crashed before reaching main? If yes how?

2 Answers  


Categories