When should you use a type cast?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

explain about storage of union elements.

2 Answers   ABC, Bosch,


34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?

0 Answers  


State the difference between realloc and free.

0 Answers   Aricent,


int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]

6 Answers   Hughes,


What is an anonymous union and where to apply that ?

3 Answers   HP,






what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); printf("%d%d%d%d%d%d",b--,b--,--b,b--,--b,--b);

10 Answers   IBM,


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

0 Answers  


How would you use the functions fseek(), freed(), fwrite() and ftell()?

0 Answers   Aspire, Infogain, TISL,


What is return type in c?

0 Answers  


Will Macros support multiple arguments ?

7 Answers   Oracle,


What is a pointer variable in c language?

0 Answers  


What is n in c?

0 Answers  


Categories