Explain union. What are its advantages?


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

Post New Answer

More C Interview Questions

44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?

6 Answers   Amdocs,


How do you write a program which produces its own source code as its output?

2 Answers  


What is header file in c?

0 Answers  


Given a string write a program to print all alphabetical characters in the order of their occurance first,followed by the sum of the numeric characters then followed by the special characters in the order of their occurance.

1 Answers   College School Exams Tests, Wipro,


what is the program to display your name in any color?

2 Answers   HCL,






If you know then define #pragma?

0 Answers  


How can I prevent other programmers from violating encapsulation by seeing the private parts of my class?

1 Answers  


Write a program that his output * *** *****

1 Answers  


main() { clrscr(); } clrscr();

6 Answers   ME, Wipro,


a simple program in c language

5 Answers   IBM,


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

0 Answers  


Explain what are preprocessor directives?

0 Answers  


Categories