Why c is called object oriented language?


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

Post New Answer

More C Interview Questions

Why c language?

0 Answers  


What are the advantages of using new operator as compared to the function malloc ()?

0 Answers   NIIT,


what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

7 Answers  


What is #include stdlib h?

0 Answers  


1. main() { printf("%d",printf("HelloSoft")); } Output?

3 Answers   HCL,






What is the use of sizeof () in c?

0 Answers  


consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is

4 Answers   TCS,


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,


Explain argument and its types.

0 Answers  


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

0 Answers  


How can I find out the size of a file, prior to reading it in?

0 Answers  


Is flag a keyword in c?

0 Answers  


Categories