What the advantages of using Unions?


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

Post New Answer

More C Interview Questions

code for replace tabs with equivalent number of blanks

0 Answers   Bosch,


show how link list can be used to repersent the following polynomial i) 5x+2

0 Answers   CBSE,


If an old women's age is the same as her three grand daughters i,mean the number of days old child=the no of weeks old child=no of months old child .The total yrs of all these ppl is 114 yrs...then how old is the old woman? the yr has 365 days..and 30 days each month.

1 Answers   TCS,


How can you invoke another program from within a C program?

0 Answers  


How pointer is benefit for design a data structure algorithm?

2 Answers  






what is the use of macro program

1 Answers   TCS,


compute the nth mumber in the fibonacci sequence?

10 Answers   Canon, HPL, Satyam, TCS,


input any 4 digit number and find the difference of all the digits?

3 Answers   Google,


why return type of main is not necessary in linux

0 Answers   TCS,


WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }

25 Answers  


b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720

1 Answers   HCL,


int x=sizeof(!5.856); What will value of variable x?

2 Answers  


Categories